Updating Doxygen styling and Licenses
[baulk.git] / src / Baulk / Control / wrapper_control.h
blob42dee3a6ff802051217a3f2c3bd584dfb7514ed2
1 // Baulk - Control - DLL Wrapper
2 //
3 // Baulk - Copyright (C) 2008 - Jacob Alexander
4 //
5 // File: wrapper_control.h
6 // Author(s): Jacob Alexander (HaaTa)
7 //
8 // Baulk is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // any later version, including version 3 of the License.
13 // Baulk is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef __WRAPPER_CONTROL_H
22 #define __WRAPPER_CONTROL_H
24 #ifdef Q_WS_WIN
25 #define EXPORTDLL __declspec(dllexport)
26 #else
27 #define EXPORTDLL
28 #endif
31 #include <QWidget>
32 #include <QMessageBox>
34 #include <baulkwidget.h>
36 #include "control.h"
38 //! DLL Wrapper for BaulkControl
39 // Exported Symbols *******************************************************************************
40 //! C Exported Symbols
41 extern "C" EXPORTDLL {
42 //! List of available symbols
43 QStringList symbolList();
45 //! Main Widget
46 BaulkWidget *control_mainWidget( QWidget *parent = 0 );
48 //! Widget Name
49 QString control_widgetName();
51 //! Quit Event
52 bool allowQuit();
55 // Misc Declarations ******************************************************************************
56 BaulkControl *control;
58 #endif