openMSX
ImGuiPart.hh
Go to the documentation of this file.
1#ifndef IMGUI_PART_HH
2#define IMGUI_PART_HH
3
4#include "ImGuiManager.hh"
6
7namespace openmsx {
8
10{
11public:
12 explicit ImGuiPart(ImGuiManager& manager_)
13 : manager(manager_)
14 {
16 }
17
19 {
21 }
22
23 // disallow copy/move, the address of this object should remain stable
24 ImGuiPart(const ImGuiPart&) = delete;
25 ImGuiPart(ImGuiPart&&) = delete;
26 ImGuiPart& operator=(const ImGuiPart&) = delete;
28
29protected:
31};
32
33} // namespace openmsx
34
35#endif
void registerPart(ImGuiPartInterface *part)
void unregisterPart(ImGuiPartInterface *part)
ImGuiManager & manager
Definition ImGuiPart.hh:30
ImGuiPart(ImGuiManager &manager_)
Definition ImGuiPart.hh:12
ImGuiPart(ImGuiPart &&)=delete
ImGuiPart & operator=(const ImGuiPart &)=delete
ImGuiPart(const ImGuiPart &)=delete
ImGuiPart & operator=(ImGuiPart &&)=delete
This file implemented 3 utility functions:
Definition Autofire.cc:11