2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +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:
John Preston
2016-06-16 15:59:54 +03:00
parent 84f704448a
commit fd91893b51
32 changed files with 5081 additions and 3046 deletions

View File

@@ -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();
}