2014-06-14 19:32:11 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2016-10-02 13:54:27 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2014-06-14 19:32:11 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2016-11-08 14:07:25 +00:00
|
|
|
// e is NSEvent*
|
|
|
|
bool objc_handleMediaKeyEvent(void *e);
|
2014-06-14 19:32:11 +00:00
|
|
|
|
2014-06-25 07:25:55 +00:00
|
|
|
void objc_debugShowAlert(const QString &str);
|
|
|
|
void objc_outputDebugString(const QString &str);
|
2014-06-17 06:06:01 +00:00
|
|
|
|
2014-09-20 21:31:03 +00:00
|
|
|
void objc_start();
|
2017-04-12 11:58:37 +00:00
|
|
|
void objc_ignoreApplicationActivationRightNow();
|
2014-06-18 18:37:44 +00:00
|
|
|
void objc_finish();
|
2014-06-25 07:25:55 +00:00
|
|
|
|
2015-08-12 18:02:20 +00:00
|
|
|
void objc_activateProgram(WId winId);
|
2014-06-25 07:25:55 +00:00
|
|
|
bool objc_moveFile(const QString &from, const QString &to);
|
|
|
|
|
2016-01-30 18:24:18 +00:00
|
|
|
double objc_appkitVersion();
|
|
|
|
|
2016-08-31 17:58:46 +00:00
|
|
|
QString objc_documentsPath();
|
2014-06-25 07:25:55 +00:00
|
|
|
QString objc_appDataPath();
|
2015-11-26 17:34:52 +00:00
|
|
|
QByteArray objc_downloadPathBookmark(const QString &path);
|
|
|
|
void objc_downloadPathEnableAccess(const QByteArray &bookmark);
|