diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2017-11-03 15:13:56 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2017-11-03 15:24:23 +0100 |
commit | 1b1e6455fa79f2f6993115f9afbb506a5f93e315 (patch) | |
tree | 9077992b8390fa5eea6870a4b18ad3f2d74cce6e /plugins/StartPosition/src/options.h | |
parent | 60db7dc0f88ccbff13e5bc8a7fcf2f20e4905ea9 (diff) |
StartPostion: use base class
* rewrite using classes
* reduce globals
* remove obsolete headers
* code cleaning
Diffstat (limited to 'plugins/StartPosition/src/options.h')
-rw-r--r-- | plugins/StartPosition/src/options.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/StartPosition/src/options.h b/plugins/StartPosition/src/options.h index 8066cddbf7..43d4a1d678 100644 --- a/plugins/StartPosition/src/options.h +++ b/plugins/StartPosition/src/options.h @@ -77,7 +77,7 @@ class COptionsDlg : public CPluginDlgBase CCtrlCheck chkStartState, chkStartHidden, chkStartNormal; public: - COptionsDlg(); + COptionsDlg(StartPositionPlugin* instance); virtual void OnInitDialog() override; virtual void OnApply() override; @@ -90,4 +90,6 @@ private: void onCheck_PositionSide(CCtrlCheck*); void onCheck_Width(CCtrlCheck*); void onCheck_StartState(CCtrlCheck*); + + StartPositionPlugin* m_plugin; }; |