summaryrefslogtreecommitdiff
path: root/plugins/StartPosition/src/stdafx.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2017-11-03 15:13:56 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2017-11-03 15:24:23 +0100
commit1b1e6455fa79f2f6993115f9afbb506a5f93e315 (patch)
tree9077992b8390fa5eea6870a4b18ad3f2d74cce6e /plugins/StartPosition/src/stdafx.h
parent60db7dc0f88ccbff13e5bc8a7fcf2f20e4905ea9 (diff)
StartPostion: use base class
* rewrite using classes * reduce globals * remove obsolete headers * code cleaning
Diffstat (limited to 'plugins/StartPosition/src/stdafx.h')
-rw-r--r--plugins/StartPosition/src/stdafx.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/StartPosition/src/stdafx.h b/plugins/StartPosition/src/stdafx.h
index 27bef6bf2c..7b79fb2734 100644
--- a/plugins/StartPosition/src/stdafx.h
+++ b/plugins/StartPosition/src/stdafx.h
@@ -25,11 +25,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <windows.h>
#include <newpluginapi.h>
-#include <m_database.h>
#include <m_gui.h>
#include <m_langpack.h>
#include <m_options.h>
-#include <m_utils.h>
+#include <m_plugin.h>
#include "resource.h"
#include "version.h"
@@ -39,10 +38,6 @@ extern HINSTANCE g_hInst;
#define MODULE_NAME "StartPosition"
#define CLIST_MODULE_NAME "CList"
-#define dbERROR -999999
-#define RIGHT 1
-#define LEFT 0
-
+class StartPositionPlugin;
#include "options.h"
-
-extern int OptInitialise(WPARAM wParam, LPARAM);
+#include "startposition.h"