]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/meshtex/PluginUI.h
* added MeshTex plugin src to project (can't compile)
[xonotic/netradiant.git] / contrib / meshtex / PluginUI.h
1 /**
2  * @file PluginUI.h
3  * Declares the PluginUI class.
4  * @ingroup meshtex-ui
5  */
6
7 /*
8  * Copyright 2012 Joel Baxter
9  *
10  * This file is part of MeshTex.
11  *
12  * MeshTex is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation, either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * MeshTex is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with MeshTex.  If not, see <http://www.gnu.org/licenses/>.
24  */
25
26 #if !defined(INCLUDED_PLUGINUI_H)
27 #define INCLUDED_PLUGINUI_H
28
29 #include "GenericPluginUI.h"
30
31 /**
32  * Subclass of GenericPluginUI that instantiates and registers the UI
33  * elements (main menu and dialogs).
34  *
35  * @ingroup meshtex-ui
36  */
37 class PluginUI : public GenericPluginUI
38 {
39 private: // private methods
40
41    /// @name Private to prevent external instantiation
42    //@{
43    PluginUI();
44    ~PluginUI();
45    //@}
46
47 public: // public methods
48
49    static PluginUI& Instance();
50 };
51
52 #endif // #if !defined(INCLUDED_PLUGINUI_H)