mirror of https://github.com/AxioDL/metaforce.git
CIOWin: Default the virtual destructor
No functional change. Just maintains consistency with the rest of the codebase.
This commit is contained in:
parent
81a019b1e0
commit
99a7e64a8a
|
@ -16,12 +16,14 @@ class CIOWin {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum class EMessageReturn { Normal = 0, Exit = 1, RemoveIOWinAndExit = 2, RemoveIOWin = 3 };
|
enum class EMessageReturn { Normal = 0, Exit = 1, RemoveIOWinAndExit = 2, RemoveIOWin = 3 };
|
||||||
virtual ~CIOWin() {}
|
|
||||||
CIOWin(std::string_view name) : x4_name(name) { m_nameHash = std::hash<std::string_view>()(name); }
|
CIOWin(std::string_view name) : x4_name(name) { m_nameHash = std::hash<std::string_view>()(name); }
|
||||||
|
|
||||||
|
virtual ~CIOWin() = default;
|
||||||
virtual EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) = 0;
|
virtual EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) = 0;
|
||||||
virtual bool GetIsContinueDraw() const { return true; }
|
virtual bool GetIsContinueDraw() const { return true; }
|
||||||
virtual void Draw() const {}
|
virtual void Draw() const {}
|
||||||
virtual void PreDraw() const {}
|
virtual void PreDraw() const {}
|
||||||
|
|
||||||
std::string_view GetName() const { return x4_name; }
|
std::string_view GetName() const { return x4_name; }
|
||||||
size_t GetNameHash() const { return m_nameHash; }
|
size_t GetNameHash() const { return m_nameHash; }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue