mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Moved PsMainWindow to Platform::MainWindow, outside of pspecific module.
Currently only MSVC build is Ok, Xcode and QtCreator are broken.
This commit is contained in:
@@ -854,29 +854,30 @@ void psShowInFolder(const QString &name) {
|
||||
objc_showInFinder(name, QFileInfo(name).absolutePath());
|
||||
}
|
||||
|
||||
namespace PlatformSpecific {
|
||||
|
||||
void start() {
|
||||
objc_start();
|
||||
}
|
||||
|
||||
void finish() {
|
||||
delete _psEventFilter;
|
||||
_psEventFilter = 0;
|
||||
|
||||
objc_finish();
|
||||
}
|
||||
|
||||
namespace ThirdParty {
|
||||
void start() {
|
||||
}
|
||||
|
||||
void finish() {
|
||||
}
|
||||
}
|
||||
namespace Platform {
|
||||
|
||||
void start() {
|
||||
objc_start();
|
||||
}
|
||||
|
||||
void finish() {
|
||||
delete _psEventFilter;
|
||||
_psEventFilter = nullptr;
|
||||
|
||||
objc_finish();
|
||||
}
|
||||
|
||||
namespace ThirdParty {
|
||||
|
||||
void start() {
|
||||
}
|
||||
|
||||
void finish() {
|
||||
}
|
||||
|
||||
} // namespace ThirdParty
|
||||
} // namespace Platform
|
||||
|
||||
void psNewVersion() {
|
||||
objc_registerCustomScheme();
|
||||
}
|
||||
|
Reference in New Issue
Block a user