2014-05-30 12:53:19 +04:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 13:23:14 +03:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2014-05-30 12:53:19 +04:00
|
|
|
|
2018-01-03 13:23:14 +03:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2014-05-30 12:53:19 +04:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2019-07-04 15:33:11 +02:00
|
|
|
#include "platform/platform_specific.h"
|
2019-09-26 13:20:34 +03:00
|
|
|
#include "base/platform/win/base_windows_h.h"
|
2016-03-24 15:57:10 +03:00
|
|
|
|
2019-06-21 14:27:46 +02:00
|
|
|
namespace Data {
|
|
|
|
class LocationPoint;
|
|
|
|
} // namespace Data
|
2018-10-11 18:54:57 +03:00
|
|
|
|
2017-05-02 12:08:08 +03:00
|
|
|
namespace Platform {
|
|
|
|
|
2019-09-16 14:14:06 +03:00
|
|
|
inline void IgnoreApplicationActivationRightNow() {
|
2017-05-02 12:08:08 +03:00
|
|
|
}
|
|
|
|
|
2020-07-22 16:10:17 +04:00
|
|
|
inline bool TrayIconSupported() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2020-10-16 07:02:05 +04:00
|
|
|
inline bool SkipTaskbarSupported() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2022-09-19 06:59:50 +04:00
|
|
|
inline void InstallLauncher(bool force) {
|
|
|
|
}
|
|
|
|
|
2017-04-13 20:59:05 +03:00
|
|
|
namespace ThirdParty {
|
|
|
|
|
2019-06-24 12:49:37 +02:00
|
|
|
void start();
|
2017-04-13 20:59:05 +03:00
|
|
|
|
|
|
|
inline void finish() {
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace ThirdParty
|
2017-05-02 12:08:08 +03:00
|
|
|
} // namespace Platform
|
|
|
|
|
2014-05-30 12:53:19 +04:00
|
|
|
inline void psCheckLocalSocket(const QString &) {
|
|
|
|
}
|
|
|
|
|
2014-09-26 16:48:19 -07:00
|
|
|
void psActivateProcess(uint64 pid = 0);
|
2014-05-30 12:53:19 +04:00
|
|
|
QString psAppDataPath();
|
2014-09-30 07:11:09 -07:00
|
|
|
QString psAppDataPathOld();
|
2014-07-18 14:37:34 +04:00
|
|
|
void psSendToMenu(bool send, bool silent = false);
|
2014-05-30 12:53:19 +04:00
|
|
|
|
|
|
|
int psCleanup();
|
|
|
|
int psFixPrevious();
|
|
|
|
|
2015-11-26 20:34:52 +03:00
|
|
|
inline QByteArray psDownloadPathBookmark(const QString &path) {
|
|
|
|
return QByteArray();
|
|
|
|
}
|
|
|
|
inline void psDownloadPathEnableAccess() {
|
|
|
|
}
|
|
|
|
|
2019-06-21 14:27:46 +02:00
|
|
|
bool psLaunchMaps(const Data::LocationPoint &point);
|