MeshTex
3.0
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
PluginModule.h
Go to the documentation of this file.
1
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 3 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_PLUGINMODULE_H)
27
#define INCLUDED_PLUGINMODULE_H
28
29
#include "
PluginProperties.h
"
30
31
#include "iplugin.h"
32
#include "typesystem.h"
33
#include "qerplugin.h"
34
40
class
PluginModule
:
public
TypeSystemRef
41
{
42
public
:
// public types
43
45
50
typedef
_QERPluginTable Type;
51
55
STRING_CONSTANT(Name, PLUGIN_NAME);
56
58
59
public
:
// public methods
60
62
63
PluginModule
();
64
~PluginModule
();
66
67
68
_QERPluginTable *
getTable
();
70
71
72
static
const
char
*
QERPluginInit
(
void
*hApp,
73
void
*pMainWidget);
74
static
const
char
*
QERPluginGetName
();
75
static
const
char
*
QERPluginGetCommandList
();
76
static
const
char
*
QERPluginGetCommandTitleList
();
77
static
void
QERPluginDispatch
(
const
char
*command,
78
float
*vMin,
79
float
*vMax,
80
bool
bSingleBrush);
82
83
private
:
// private member vars
84
85
static
_QERPluginTable
_pluginAPI
;
86
};
87
88
#endif // #if !defined(INCLUDED_PLUGINMODULE_H)
PluginModule.h
Generated on Tue Jul 31 2012 11:55:06 for MeshTex by
1.8.1.1