XWayland and moved managers
This commit is contained in:
parent
854c827911
commit
a9773bd91a
13 changed files with 245 additions and 31 deletions
19
src/managers/ThreadManager.hpp
Normal file
19
src/managers/ThreadManager.hpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include "../defines.hpp"
|
||||
#include <thread>
|
||||
#include "../Compositor.hpp"
|
||||
|
||||
class CThreadManager {
|
||||
public:
|
||||
CThreadManager();
|
||||
~CThreadManager();
|
||||
|
||||
private:
|
||||
|
||||
void handle();
|
||||
|
||||
std::thread* m_tMainThread;
|
||||
};
|
||||
|
||||
inline std::unique_ptr<CThreadManager> g_pThreadManager;
|
||||
Loading…
Add table
Add a link
Reference in a new issue