* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define UNICODE
-#define _UNICODE
-
-#define _CRT_SECURE_NO_DEPRECATE
-
-#include <assert.h>
-#include <stdio.h>
-#include <windows.h>
-#include <commdlg.h>
-#include <tchar.h>
-
-#include "main.h"
-#include "license.h"
-#include "dialog.h"
+#include <notepad.h>
static const WCHAR helpfileW[] = { 'n','o','t','e','p','a','d','.','h','l','p',0 };
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <windows.h>
-#include "license.h"
+#include <notepad.h>
VOID WineLicense(HWND Wnd)
{
/* FIXME: should load strings from resources */
LICENSE *License = &WineLicense_En;
- MessageBox(Wnd, License->License, License->LicenseCaption,
+ MessageBoxA(Wnd, License->License, License->LicenseCaption,
MB_ICONINFORMATION | MB_OK);
}
{
/* FIXME: should load strings from resources */
LICENSE *License = &WineLicense_En;
- MessageBox(Wnd, License->Warranty, License->WarrantyCaption,
+ MessageBoxA(Wnd, License->Warranty, License->WarrantyCaption,
MB_ICONEXCLAMATION | MB_OK);
}
*
*/
-#define UNICODE
-#define _UNICODE
-
-#define _CRT_SECURE_NO_DEPRECATE
-
-#include <windows.h>
-#include <stdio.h>
-#include <tchar.h>
-
-#include "main.h"
-#include "dialog.h"
-#include "notepad_res.h"
+#include <notepad.h>
NOTEPAD_GLOBALS Globals;
static ATOM aFINDMSGSTRING;
--- /dev/null
+#define UNICODE\r
+#define _UNICODE\r
+\r
+#define _CRT_SECURE_NO_DEPRECATE\r
+\r
+#include <assert.h>\r
+#include <stdio.h>\r
+#include <windows.h>\r
+#include <commdlg.h>\r
+#include <tchar.h>\r
+\r
+#include "main.h"\r
+#include "license.h"\r
+#include "dialog.h"\r
+\r
<file>text.c</file>
<file>settings.c</file>
<file>rsrc.rc</file>
+ <pch>notepad.h</pch>
</module>
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define UNICODE
-#define _UNICODE
-
-#include <assert.h>
-#include <stdio.h>
-#include <windows.h>
-#include <commdlg.h>
-#include <tchar.h>
-
-#include "main.h"
+#include <notepad.h>
static const TCHAR s_szRegistryKey[] = { 'S','o','f','t','w','a','r','e',
'\\','M','i','c','r','o','s','o','f','t',
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define UNICODE
-
-#include <assert.h>
-#include <stdio.h>
-#include <windows.h>
-#include <commdlg.h>
-
-#include "main.h"
+#include <notepad.h>
static BOOL Append(LPWSTR *ppszText, DWORD *pdwTextLen, LPCWSTR pszAppendText, DWORD dwAppendLen)
{
--- /dev/null
+#ifndef _REGEDIT_H\r
+#define _REGEDIT_H\r
+\r
+#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */\r
+#include <windows.h>\r
+#include <commctrl.h>\r
+#include <shellapi.h>\r
+#include <shlwapi.h>\r
+#include <stdlib.h>\r
+#include <tchar.h>\r
+#include <process.h>\r
+#include <stdio.h>\r
+#include <limits.h>\r
+#include <accctrl.h>\r
+#include <objbase.h>\r
+#include <basetyps.h>\r
+#include <unknwn.h>\r
+#include <aclui.h>\r
+#include <commdlg.h>\r
+#include <cderr.h>\r
+#include <ole2.h>\r
+#include <objbase.h>\r
+#include <objsel.h>\r
+#include <assert.h>\r
+#include "main.h"\r
+#include "regproc.h"\r
+#include "hexedit.h"\r
+#include "security.h"\r
+#endif\r