Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added inclusion guards.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 30 Jan 2016 20:41:14 +0000 (20:41 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 30 Jan 2016 20:41:14 +0000 (20:41 +0000)
source/common/file.h
source/common/text.h
source/objects/calendarevent/CalendarEvent.h
source/objects/calendarobject/CalendarObject.h

index 84ca16f..b986eb5 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef __COMMON_FILE_H__
+#define __COMMON_FILE_H__
+
 #include <string>
 #include <iostream>
 #if defined (__WIN32__)
@@ -6,4 +9,6 @@
 #include <sys/unistd.h>
 #endif
 
-bool FileExists(std::string Filename);
\ No newline at end of file
+bool FileExists(std::string Filename);
+
+#endif
\ No newline at end of file
index c4813e1..0cc513a 100644 (file)
@@ -1,11 +1,11 @@
+#ifndef __COMMON_TEXT_H__
+#define __COMMON_TEXT_H__
+
 #include <string>
 #include <vector>
 #include <map>
 #include <iostream>
 
-#ifndef __COMMON_TEXT_H__
-#define __COMMON_TEXT_H__
-
 struct PropertyNameValue{
        std::string Name;
        std::string Value;
index e0f7df9..e2bdf0d 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef __OBJECTS_CALENDAREVENT_CALENDAREVENT_H__
+#define __OBJECTS_CALENDAREVENT_CALENDAREVENT_H__
+
 #include "../calendarobject/CalendarObject.h"
 
 class CalendarEventObject: public CalendarObject{
@@ -8,4 +11,6 @@ class CalendarEventObject: public CalendarObject{
        
        void ProcessData();
        
-};
\ No newline at end of file
+};
+
+#endif
\ No newline at end of file
index 88ec948..6b33513 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef __OBJECTS_CALENDAROBJECT_CALENDAROBJECT_H__
+#define __OBJECTS_CALENDAROBJECT_CALENDAROBJECT_H__
+
 #include <string>
 #include <iostream>
 #include <fstream>
@@ -226,3 +229,5 @@ class CalendarObject{
        virtual void ProcessData() {};
   
 };
+
+#endif
\ No newline at end of file
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy