summaryrefslogtreecommitdiff
path: root/plugins/StartPosition/src/startposition.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/startposition.h
parent60db7dc0f88ccbff13e5bc8a7fcf2f20e4905ea9 (diff)
StartPostion: use base class
* rewrite using classes * reduce globals * remove obsolete headers * code cleaning
Diffstat (limited to 'plugins/StartPosition/src/startposition.h')
-rw-r--r--plugins/StartPosition/src/startposition.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/StartPosition/src/startposition.h b/plugins/StartPosition/src/startposition.h
new file mode 100644
index 0000000000..85453eacb2
--- /dev/null
+++ b/plugins/StartPosition/src/startposition.h
@@ -0,0 +1,34 @@
+/*
+Copyright (C) 2012-17 Miranda NG project (https://miranda-ng.org)
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation version 2
+of the License.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#include "stdafx.h"
+
+
+class StartPositionPlugin : public PLUGIN<StartPositionPlugin>
+{
+ friend COptionsDlg;
+
+public:
+ StartPositionPlugin();
+
+ int __cdecl OnOptionsInit(WPARAM, LPARAM);
+ void positionClist();
+
+ StartPositionOptions spOptions;
+};