Merge to XFA: Fix ALL the include guards.
[pdfium.git] / fpdfsdk / include / fx_systemhandler.h
index b9ac413..f8df723 100644 (file)
@@ -4,8 +4,8 @@
  
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
-#ifndef _FX_SYSTEMHANDLER_H_
-#define _FX_SYSTEMHANDLER_H_
+#ifndef FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_
+#define FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_
 
 typedef FX_LPVOID                              FX_HWND;
 typedef FX_LPVOID                              FX_HMENU;
@@ -13,6 +13,15 @@ typedef void                                 (*TimerCallback)(FX_INT32 idEvent);
 
 typedef struct _FX_SYSTEMTIME 
 {
+    _FX_SYSTEMTIME()
+      : wYear(0),
+        wMonth(0),
+        wDayOfWeek(0),
+        wDay(0),
+        wHour(0),
+        wMinute(0),
+        wSecond(0),
+        wMilliseconds(0) {}
     FX_WORD wYear;
     FX_WORD wMonth;
     FX_WORD wDayOfWeek;
@@ -81,5 +90,4 @@ public:
        virtual void                            SetCharSet(FX_INT32 nCharSet) = 0;
 };
 
-#endif //_FX_SYSTEMHANDLER_H_
-
+#endif  // FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_