2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-23 02:37:11 +00:00

29 lines
807 B
C
Raw Normal View History

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