blob: fea3d97a6aa267d7d91e52cdde28e9b1471763b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/*
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 <http://www.gnu.org/licenses/>.
*/
#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 UsePhysProto;
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(CMString& filename, const CMString& name,
const CMString& defaultFilename);
static void ReadCustomCategories(CMString& cats);
static void ReadContactCategory(MCONTACT hContact, CMString& cats);
static void WritePackFileName(const CMString& filename, const CMString& name);
static void WriteCustomCategories(const CMString& cats);
static void WriteContactCategory(MCONTACT hContact, const CMString& cats);
};
extern OptionsType opt;
#endif // SMILEYADD_OPTIONS_H_
|