[APPLICATIONS]

* Add header guards to the main headers.
CORE-7716

svn path=/trunk/; revision=61959
This commit is contained in:
Amine Khaldi 2014-02-03 16:13:37 +00:00
parent 72b7974785
commit 351f7fc14e
22 changed files with 105 additions and 10 deletions

View file

@ -1,3 +1,6 @@
#ifndef _CALC_H
#define _CALC_H
#include <stdarg.h>
#include <windef.h>
#include <winuser.h>
@ -225,3 +228,5 @@ INT_PTR CALLBACK AboutDlgProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp);
void ConvExecute(HWND hWnd);
void ConvAdjust(HWND hWnd, int n_cat);
void ConvInit(HWND hWnd);
#endif /* _CALC_H */

View file

@ -1,3 +1,6 @@
#ifndef _SOL_PCH_
#define _SOL_PCH_
#include <cardlib.h>
extern CardWindow SolWnd;
@ -52,3 +55,5 @@ void CARDLIBPROC DeckClickProc(CardRegion &stackobj, int iNumClicked);
void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked);
void CARDLIBPROC PileRemoveProc(CardRegion &stackobj, int iRemoved);
#endif /* _SOL_PCH_ */

View file

@ -1,3 +1,6 @@
#ifndef _SPIDER_PCH_
#define _SPIDER_PCH_
#include <cardlib.h>
#include "resource.h"
@ -39,3 +42,5 @@ void CARDLIBPROC DeckClickProc(CardRegion &stackobj, int iNumClicked);
void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked);
void CARDLIBPROC PileRemoveProc(CardRegion &stackobj, int iRemoved);
#endif /* _SPIDER_PCH_ */

View file

@ -16,7 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#pragma once
#ifndef _WINMINE_H_
#define _WINMINE_H_
#include <stdarg.h>
@ -136,5 +137,4 @@ INT_PTR CALLBACK CongratsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lP
INT_PTR CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam );
/* end of header */
#endif /* _WINMINE_H_ */

View file

@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _MAGNIFIER_H_
#define _MAGNIFIER_H_
#include <stdarg.h>
#include <windef.h>
@ -35,3 +38,5 @@ extern BOOL bShowMagnifier;
void LoadSettings(void);
void SaveSettings(void);
#endif /* _MAGNIFIER_H_ */

View file

@ -1,3 +1,6 @@
#ifndef _MMC_PCH_
#define _MMC_PCH_
#include <stdarg.h>
#include <windef.h>
@ -37,3 +40,5 @@ extern HINSTANCE hAppInstance;
extern HANDLE hAppHeap;
extern HWND hwndMainConsole;
extern HWND hwndMDIClient;
#endif /* _MMC_PCH_ */

View file

@ -1 +1,3 @@
#pragma once
extern HINSTANCE hInst;

View file

@ -1,3 +1,6 @@
#ifndef _MSCONFIG_PCH_
#define _MSCONFIG_PCH_
#include <stdarg.h>
#define WIN32_NO_STATUS
@ -18,3 +21,5 @@
#define MAX_KEY_LENGTH 255
#define MAX_VALUE_NAME 16383
#endif /* _MSCONFIG_PCH_ */

View file

@ -1,3 +1,6 @@
#ifndef _MSPAINT_H
#define _MSPAINT_H
#include <stdarg.h>
#include <windef.h>
@ -17,3 +20,5 @@
#include "globalvar.h"
#include "history.h"
#include "mouse.h"
#endif /* _MSPAINT_H */

View file

@ -1,3 +1,6 @@
#ifndef _MSTSC_PCH_
#define _MSTSC_PCH_
#include <stdarg.h>
#define WIN32_NO_STATUS
@ -106,3 +109,5 @@ BOOL SetStringToSettings(PRDPSETTINGS pRdpSettings, LPWSTR lpKey, LPWSTR lpValue
VOID SaveAllSettings(PINFO pInfo);
#endif /* __TODO_MSTSC_H */
#endif /* _MSTSC_PCH_ */

View file

@ -1,8 +1,14 @@
#ifndef _FINGER_PCH_
#define _FINGER_PCH_
#include <stdio.h>
#include <stdlib.h>
#define WIN32_NO_STATUS
#include <windef.h>
#define _INC_WINDOWS
#include <winsock2.h>
#include <stdio.h>
#include <stdlib.h>
#include "err.h"
#endif /* _FINGER_PCH_ */

View file

@ -1,3 +1,6 @@
#ifndef _FTP_H
#define _FTP_H
#include <sys/stat.h>
#ifndef _WIN32
@ -27,3 +30,5 @@
#include <stdlib.h>
#include "ftp_var.h"
#endif /* _FTP_H */

View file

@ -8,7 +8,8 @@
*/
#include "net.h"
#include "stdlib.h"
#include <stdlib.h>
INT cmdHelpMsg(INT argc, WCHAR **argv)
{

View file

@ -1,13 +1,14 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS net command
* FILE:
* PURPOSE:
*
* PROGRAMMERS: Magnus Olsen (greatlord@reactos.org)
*/
#ifndef _NET_PCH_
#define _NET_PCH_
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winsvc.h>
@ -22,3 +23,5 @@ INT cmdHelpMsg(INT argc, WCHAR **argv);
INT cmdPause(INT argc, WCHAR **argv);
INT cmdStart(INT argc, WCHAR **argv);
INT cmdStop(INT argc, WCHAR **argv);
#endif /* _NET_PCH_ */

View file

@ -1,3 +1,6 @@
#ifndef _NSLOOKUP_H
#define _NSLOOKUP_H
#include <stdarg.h>
#define WIN32_NO_STATUS
@ -111,3 +114,5 @@ PCHAR TypeIDtoTypeName( USHORT TypeID );
USHORT TypeNametoTypeID( PCHAR TypeName );
PCHAR ClassIDtoClassName( USHORT ClassID );
USHORT ClassNametoClassID( PCHAR ClassName );
#endif /* _NSLOOKUP_H */

View file

@ -1,3 +1,6 @@
#ifndef _TELNET_PCH_
#define _TELNET_PCH_
#include <stdarg.h>
#define WIN32_NO_STATUS
@ -27,3 +30,5 @@
#include "src/tnclass.h"
#include "src/tnmisc.h"
#include "src/tncon.h"
#endif /* _TELNET_PCH_ */

View file

@ -1,3 +1,6 @@
#ifndef _NOTEPAD_H
#define _NOTEPAD_H
#ifndef STRSAFE_NO_DEPRECATE
#define STRSAFE_NO_DEPRECATE
#endif
@ -16,3 +19,5 @@
#include "main.h"
#include "dialog.h"
#endif /* _NOTEPAD_H */

View file

@ -1,3 +1,6 @@
#ifndef _RAPPS_H
#define _RAPPS_H
#include <stdarg.h>
#define WIN32_NO_STATUS
@ -195,3 +198,5 @@ VOID ToolBarOnGetDispInfo(LPTOOLTIPTEXT lpttt);
extern HWND hTreeView;
BOOL CreateTreeView(HWND hwnd);
HTREEITEM TreeViewAddItem(HTREEITEM hParent, LPWSTR lpText, INT Image, INT SelectedImage, LPARAM lParam);
#endif /* _RAPPS_H */

View file

@ -1,3 +1,6 @@
#ifndef _SC_PCH_
#define _SC_PCH_
#include <stdarg.h>
#include <windef.h>
@ -32,3 +35,5 @@ VOID DescriptionUsage(VOID);
VOID DeleteUsage(VOID);
VOID CreateUsage(VOID);
VOID ControlUsage(VOID);
#endif /* _SC_PCH_ */

View file

@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _3DTEXT_H_
#define _3DTEXT_H_
#include <tchar.h>
#include <windef.h>
@ -25,3 +28,5 @@ extern TCHAR m_Text[MAX_PATH];
VOID LoadSettings(VOID);
VOID SaveSettings(VOID);
#endif /* _3DTEXT_H_ */

View file

@ -1,4 +1,5 @@
#pragma once
#ifndef _SNDREC32_PCH_
#define _SNDREC32_PCH_
//#include "targetver.h"
@ -16,3 +17,5 @@
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#endif /* _SNDREC32_PCH_ */

View file

@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WINHELP_H_
#define _WINHELP_H_
#define MAX_LANGUAGE_NUMBER 255
#define MAX_STRING_LEN 255
@ -203,3 +206,5 @@ extern const char STRING_DIALOG_TEST[];
/* Buttons */
#define WH_FIRST_BUTTON 500
#endif /* _WINHELP_H_ */