From 088403332a5a0a0312441a7938ed66f80126018f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 21:53:02 +0000 Subject: more warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WinterSpeak/src/DialogConfigActive.h | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'plugins/WinterSpeak/src/DialogConfigActive.h') diff --git a/plugins/WinterSpeak/src/DialogConfigActive.h b/plugins/WinterSpeak/src/DialogConfigActive.h index 5c65d44840..da778b3b56 100644 --- a/plugins/WinterSpeak/src/DialogConfigActive.h +++ b/plugins/WinterSpeak/src/DialogConfigActive.h @@ -3,23 +3,25 @@ class DialogConfigActive : public MirandaDialog { - public: - //-------------------------------------------------------------------------- + DialogConfigActive& operator=(const DialogConfigActive&); + +public: + //-------------------------------------------------------------------------- // Description : Initialise // Parameters : db - reference to the database to initalise and save - // control to and from + // control to and from //-------------------------------------------------------------------------- DialogConfigActive(ConfigDatabase &db); virtual ~DialogConfigActive(); - //-------------------------------------------------------------------------- + //-------------------------------------------------------------------------- // Description : process a dialog message // Return : 0 - process ok - // 1 - error + // 1 - error //-------------------------------------------------------------------------- - static INT_PTR CALLBACK process(HWND window, UINT message, WPARAM wparam, LPARAM lparam); + static INT_PTR CALLBACK process(HWND window, UINT message, WPARAM wparam, LPARAM lparam); - private: +private: //-------------------------------------------------------------------------- // Description : load/save setting to the miranda database //-------------------------------------------------------------------------- @@ -29,9 +31,9 @@ class DialogConfigActive : public MirandaDialog //-------------------------------------------------------------------------- // Description : select/unselect all the active status checkboxes - // Parameters : state - the state to apply to the checkboxes + // Parameters : state - the state to apply to the checkboxes //-------------------------------------------------------------------------- - void selectAllUsers(HWND window, bool state); + void selectAllUsers(HWND window, bool state); void ResetListOptions(HWND listview); void InitialiseItem(HWND hwndList, HANDLE hItem, bool message, bool status); void SetAllContactIcons(HWND listview); @@ -39,11 +41,10 @@ class DialogConfigActive : public MirandaDialog void SetAllChildIcons(HWND hwndList, HANDLE hFirstItem, int iColumn, int iImage); void SetListGroupIcons(HWND hwndList, HANDLE hFirstItem, HANDLE hParentItem, int *groupChildCount); void SaveItemMask(HWND hwndList, MCONTACT hContact, HANDLE hItem); - - static DialogConfigActive *m_instance; - ConfigDatabase &m_db; + + static DialogConfigActive *m_instance; + ConfigDatabase &m_db; HICON hIcons[4]; HANDLE hItemUnknown; HANDLE hItemAll; }; - -- cgit v1.2.3