Adding initial text event manager

This commit is contained in:
Dan Paulat 2022-10-12 00:13:41 -05:00
parent 3ae001c3b9
commit cc82c5b102
3 changed files with 192 additions and 2 deletions

View 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