2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Moved AppClass to messenger.cpp:Messenger.

This commit is contained in:
John Preston
2017-02-23 13:59:19 +03:00
parent 63c61637f8
commit c3b3819d9f
40 changed files with 940 additions and 962 deletions

View File

@@ -35,6 +35,7 @@ extern "C" {
}
#include "application.h"
#include "pspecific.h"
uint64 _SharedMemoryLocation[4] = { 0x00, 0x01, 0x02, 0x03 };
@@ -320,7 +321,6 @@ namespace ThirdParty {
Platform::ThirdParty::finish();
}
}
bool checkms() {
@@ -330,7 +330,7 @@ bool checkms() {
_msAddToUnixtime = ((ms - unixms) / 1000LL) * 1000LL;
} else if (unixms > ms + 1000LL) {
_msAddToMsStart += ((unixms - ms) / 1000LL) * 1000LL;
if (App::app()) emit App::app()->adjustSingleTimers();
Sandbox::adjustSingleTimers();
return true;
}
return false;