2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Don't use window title for IPC.

This commit is contained in:
John Preston
2023-01-09 16:08:34 +04:00
parent 6288da2f3d
commit c49dac57b7
12 changed files with 156 additions and 66 deletions

View File

@@ -24,6 +24,16 @@ inline void WriteCrashDumpDetails() {
inline void AutostartRequestStateFromSystem(Fn<void(bool)> callback) {
}
inline void ActivateThisProcess() {
}
inline uint64 ActivationWindowId(not_null<QWidget*> window) {
return 1;
}
inline void ActivateOtherProcess(uint64 processId, uint64 windowId) {
}
} // namespace Platform
inline void psCheckLocalSocket(const QString &serverName) {
@@ -33,7 +43,6 @@ inline void psCheckLocalSocket(const QString &serverName) {
}
}
void psActivateProcess(uint64 pid = 0);
QString psAppDataPath();
void psSendToMenu(bool send, bool silent = false);