2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Some platform-dependent modules refactoring.

Now each platform-dependent module declares its interface in
platform/platform_module.h file and after that includes platform-
specific headers like platform/win/module_win.h with implementation.

Also removed the legacy WinRT platform-dependent implementations.
This commit is contained in:
John Preston
2017-02-28 13:51:00 +03:00
parent ae08a2f697
commit 6f0cf30b12
44 changed files with 209 additions and 3434 deletions

View File

@@ -40,9 +40,9 @@ class HideAllButton;
class Manager;
void start();
Manager *manager();
void finish();
void Start();
Manager *GetManager();
void Finish();
class Manager : public Notifications::Manager, private base::Subscriber {
public:
@@ -234,9 +234,9 @@ private:
Animation a_actionsOpacity;
QPixmap _buttonsCache;
#if defined Q_OS_WIN && !defined Q_OS_WINRT
#ifdef Q_OS_WIN
TimeMs _started;
#endif // Q_OS_WIN && !Q_OS_WINRT
#endif // Q_OS_WIN
History *_history;
PeerData *_peer;