[CALC] Improve headers inclusion.
[reactos.git] / base / applications / calc / calc.h
index 702ad47..afbc813 100644 (file)
@@ -1,10 +1,14 @@
-#ifndef _CALC_H
-#define _CALC_H
+#ifndef __CALC_H__
+#define __CALC_H__
 
-#include <stdarg.h>
-#include <windef.h>
-#include <winuser.h>
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
 #include <tchar.h>
+#include <commctrl.h>
+#include <shellapi.h>
+
+#include <stdio.h>
+#include <string.h>
 #include <math.h>
 #include <float.h>
 #include <malloc.h>
@@ -43,6 +47,8 @@
 #define IDC_STATIC  ((DWORD)-1)
 #endif
 
+#define CALC_VERSION        _T("1.12")
+
 #define MAX_CALC_SIZE       256
 
 /*#define USE_KEYBOARD_HOOK*/
@@ -226,8 +232,10 @@ void convert_real_integer(unsigned int base);
 
 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 */
+#endif /* __CALC_H__ */