4 * Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
5 * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #include "notepad_res.h"
24 #define MAX_STRING_LEN 255
25 #define MAX_PATHNAME_LEN 1024
26 #define MAX_LANGUAGE_NUMBER (NP_LAST_LANGUAGE - NP_FIRST_LANGUAGE)
28 #define HELPFILE "notepad.hlp"
29 #define LOGPREFIX ".LOG"
31 /* hide the following from winerc */
34 #define WINE_RELEASE_INFO "Wine (www.winehq.com)"
38 /***** Compatibility *****/
41 #define OIC_WINLOGO 32517
43 #define DEFAULTICON OIC_WINLOGO
60 UINT wStringTableOffset
;
62 CHAR szFindText
[MAX_PATHNAME_LEN
];
63 CHAR szReplaceText
[MAX_PATHNAME_LEN
];
64 CHAR szFileName
[MAX_PATHNAME_LEN
];
65 CHAR szMarginTop
[MAX_PATHNAME_LEN
];
66 CHAR szMarginBottom
[MAX_PATHNAME_LEN
];
67 CHAR szMarginLeft
[MAX_PATHNAME_LEN
];
68 CHAR szMarginRight
[MAX_PATHNAME_LEN
];
69 CHAR szHeader
[MAX_PATHNAME_LEN
];
70 CHAR szFooter
[MAX_PATHNAME_LEN
];
73 WORD nCommdlgFindReplaceMsg
;
77 extern NOTEPAD_GLOBALS Globals
;
79 /* function prototypes */
81 void TrashBuffer(void);
82 void LoadBufferFromFile(LPCSTR lpFileName
);
87 extern CHAR STRING_MENU_Xx
[];
88 extern CHAR STRING_PAGESETUP_Xx
[];
90 #else /* RC_INVOKED */