Debian Codegraph @

plugins/dm.gameconnection/GameConnectionControl.h

raw
1 #pragma once
2
3 #include "i18n.h"
4 #include "ui/iusercontrol.h"
5 #include "GameConnectionPanel.h"
6
7 namespace ui
8 {
9
10 class GameConnectionControl: public IUserControlCreator
11 {
12 public:
13 constexpr static const char* Name = "GameConnectionPanel";
14
15 std::string getControlName() override
16 {
17 return Name;
18 }
19
20 std::string getDisplayName() override
21 {
22 return _("Game Connection");
23 }
24
25 std::string getIcon() override
26 {
27 return {};
28 }
29
30 wxWindow* createWidget(wxWindow* parent) override
31 {
32 return new GameConnectionPanel(parent);
33 }
34 };
35
36 }