mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:20:06 +00:00
Adding initial text event manager
This commit is contained in:
parent
3ae001c3b9
commit
cc82c5b102
3 changed files with 192 additions and 2 deletions
34
scwx-qt/source/scwx/qt/manager/text_event_manager.hpp
Normal file
34
scwx-qt/source/scwx/qt/manager/text_event_manager.hpp
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
namespace qt
|
||||
{
|
||||
namespace manager
|
||||
{
|
||||
|
||||
class TextEventManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TextEventManager();
|
||||
~TextEventManager();
|
||||
|
||||
void LoadFile(const std::string& filename);
|
||||
|
||||
static TextEventManager& Instance();
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
std::unique_ptr<Impl> p;
|
||||
};
|
||||
|
||||
} // namespace manager
|
||||
} // namespace qt
|
||||
} // namespace scwx
|
||||
Loading…
Add table
Add a link
Reference in a new issue