specific_mac_p.h 807 B

12345678910111213141516171819202122232425262728
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. // e is NSEvent*
  9. bool objc_handleMediaKeyEvent(void *e);
  10. void objc_debugShowAlert(const QString &str);
  11. void objc_outputDebugString(const QString &str);
  12. void objc_start();
  13. void objc_ignoreApplicationActivationRightNow();
  14. void objc_finish();
  15. void objc_activateProgram(WId winId);
  16. bool objc_moveFile(const QString &from, const QString &to);
  17. double objc_appkitVersion();
  18. QString objc_documentsPath();
  19. QString objc_appDataPath();
  20. QByteArray objc_downloadPathBookmark(const QString &path);
  21. void objc_downloadPathEnableAccess(const QByteArray &bookmark);