tdesktop/Telegram/SourceFiles/platform/mac/specific_mac_p.h

29 lines
807 B
C
Raw Normal View History

2014-06-14 19:32:11 +00: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 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
void objc_debugShowAlert(const QString &str);
void objc_outputDebugString(const QString &str);
void objc_start();
void objc_ignoreApplicationActivationRightNow();
void objc_finish();
2015-08-12 18:02:20 +00:00
void objc_activateProgram(WId winId);
bool objc_moveFile(const QString &from, const QString &to);
2016-01-30 18:24:18 +00:00
double objc_appkitVersion();
QString objc_documentsPath();
QString objc_appDataPath();
QByteArray objc_downloadPathBookmark(const QString &path);
void objc_downloadPathEnableAccess(const QByteArray &bookmark);