From f920ef497f3299ae24fe783ce03bdd93b419f764 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 18 May 2012 22:02:50 +0000 Subject: plugins folders renaming git-svn-id: http://svn.miranda-ng.org/main/trunk@60 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/options.h | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 plugins/SmileyAdd/options.h (limited to 'plugins/SmileyAdd/options.h') diff --git a/plugins/SmileyAdd/options.h b/plugins/SmileyAdd/options.h new file mode 100644 index 0000000000..3b83b0dc8f --- /dev/null +++ b/plugins/SmileyAdd/options.h @@ -0,0 +1,60 @@ +/* +Miranda SmileyAdd Plugin +Copyright (C) 2005 - 2011 Boris Krasnovskiy +Copyright (C) 2003 - 2004 Rein-Peter de Boer + +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 . +*/ + +#ifndef SMILEYADD_OPTIONS_H_ +#define SMILEYADD_OPTIONS_H_ + +int SmileysOptionsInitialize(WPARAM wParam, LPARAM lParam); + +class OptionsType +{ +public: + bool PluginSupportEnabled; + bool EnforceSpaces; + bool ScaleToTextheight; + bool UseOneForAll; + bool SurroundSmileyWithSpaces; + bool ScaleAllSmileys; + bool IEViewStyle; + bool AnimateSel; + bool AnimateDlg; + bool InputSmileys; + bool DCursorSmiley; + bool DisableCustom; + bool HQScaling; + unsigned ButtonStatus; + unsigned SelWndBkgClr; + unsigned MaxCustomSmileySize; + unsigned MinSmileySize; + + void Load(void); + void Save(void); + static void ReadPackFileName(bkstring& filename, const bkstring& name, + const bkstring& defaultFilename); + static void ReadCustomCategories(bkstring& cats); + static void ReadContactCategory(HANDLE hContact, bkstring& cats); + static void WritePackFileName(const bkstring& filename, const bkstring& name); + static void WriteCustomCategories(const bkstring& cats); + static void WriteContactCategory(HANDLE hContact, const bkstring& cats); +}; + +extern OptionsType opt; + +#endif // SMILEYADD_OPTIONS_H_ + -- cgit v1.2.3