Adding focus support for Dynamic Top Layer
[baulk.git] / templates / templateWrapperH
blob450d49c065d7ba281be8d3e07321768d64656f55
1 // Baulk - NAMEHERE - DLL Wrapper
2 //
3 // Baulk - Copyright (C) 2008 - Jacob Alexander
4 //
5 //  File:       FILENAME
6 //  Author(s):  Jacob Alexander (HaaTa)
7 //
8 //  Description: 
9 //      DLL Wrapper for Baulk Information Server
11 //  Baulk is free software; you can redistribute it and/or modify
12 //  it under the terms of the GNU General Public License as published by
13 //  the Free Software Foundation; either version 2 of the License, or
14 //  any later version, including version 3 of the License.
16 //  Baulk is distributed in the hope that it will be useful,
17 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 //  GNU General Public License for more details.
21 //  You should have received a copy of the GNU General Public License
22 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
24 // Naming Guide
26 // Note: The <name>_ portion of the name is not required.
28 //      <name>_mainWidget       - Central (or main) BaulkWidget (Which is a glorified QWidget) or QWidget
29 //      <name>_mainObject       - Central (or main) QObject 
31 // 
32 // Each used symbol MUST be added to the symbolList. This allows, for
33 // non-destructive error messages on a mis-load
35 #ifndef __WRAPPER_NAME_H
36 #define __WRAPPER_NAME_H
38 #ifdef Q_WS_WIN
39         #define EXPORTDLL __declspec(dllexport)
40 #else
41         #define EXPORTDLL
42 #endif
45 #include <QWidget>
47 #include <baulkwidget.h>
49 // Exported Symbols *******************************************************************************
50 extern "C" EXPORTDLL {
51         QStringList symbolList();
53         BaulkWidget *mainWidget( QWidget *parent );
56 // Misc Declarations ******************************************************************************
58 #endif