Mercurial > hg > forks > UniversalIndentGUI
comparison src/UniversalIndentGUI_NPP/UniversalIndentGUI_NPP.h @ 489:5fe3aefed089
Initial commit of plugin for Notepad++. Had to make some changes to the indenthandler, which need to be put under a ifdef switch. But at first it at least works.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@729 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Sun, 15 Jun 2008 17:15:35 +0000 |
parents | |
children | e3215923077a |
comparison
equal
deleted
inserted
replaced
488:0745e5a3a9df | 489:5fe3aefed089 |
---|---|
1 /*************************************************************************** | |
2 * Copyright (C) 2006-2008 by Thomas Schweitzer * | |
3 * thomas-schweitzer(at)arcor.de * | |
4 * * | |
5 * This program is free software; you can redistribute it and/or modify * | |
6 * it under the terms of the GNU General Public License version 2.0 as * | |
7 * published by the Free Software Foundation. * | |
8 * * | |
9 * This program is distributed in the hope that it will be useful, * | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of * | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | |
12 * GNU General Public License for more details. * | |
13 * * | |
14 * You should have received a copy of the GNU General Public License * | |
15 * along with this program in the file LICENSE.GPL; if not, write to the * | |
16 * Free Software Foundation, Inc., * | |
17 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * | |
18 ***************************************************************************/ | |
19 | |
20 | |
21 #ifndef UNIVERSALINDENTGUI_NPP_H | |
22 #define UNIVERSALINDENTGUI_NPP_H | |
23 | |
24 #define WIN32_LEAN_AND_MEAN | |
25 #include "SysMsg.h" | |
26 #include "PluginInterface.h" | |
27 #include "Notepad_plus_rc.h" | |
28 #include "Scintilla.h" | |
29 #include <TCHAR.H> | |
30 | |
31 /* menu position in funcItem */ | |
32 #define TOGGLE_DOCKABLE_WINDOW_INDEX 0 | |
33 | |
34 | |
35 /* ini file name */ | |
36 CONST TCHAR PLUGINTEMP_INI[] = _T("\\PluginManager.ini"); | |
37 | |
38 /* param names of ini file */ | |
39 /* section */ | |
40 CONST TCHAR dlgTemp[] = _T("Plugin Template"); | |
41 /* keys of section */ | |
42 CONST TCHAR Value1[] = _T("Value1"); | |
43 CONST TCHAR Value2[] = _T("Value2"); | |
44 | |
45 | |
46 /* define here your plugin properties (stored in an ini file) */ | |
47 typedef struct tPluginProp { | |
48 INT iValue1; | |
49 INT iValue2; | |
50 } tPluginProp; | |
51 | |
52 | |
53 /* load and save properties from/into ini file */ | |
54 void loadSettings(void); | |
55 void saveSettings(void); | |
56 | |
57 /* menu functions */ | |
58 void toggleView(void); | |
59 void aboutDlg(void); | |
60 void indentText(void); | |
61 | |
62 | |
63 | |
64 #endif // UNIVERSALINDENTGUI_NPP_H | |
65 |