Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0badb42
)
Added inclusion guards.
author
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sat, 30 Jan 2016 20:41:14 +0000
(20:41 +0000)
committer
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sat, 30 Jan 2016 20:41:14 +0000
(20:41 +0000)
source/common/file.h
patch
|
blob
|
history
source/common/text.h
patch
|
blob
|
history
source/objects/calendarevent/CalendarEvent.h
patch
|
blob
|
history
source/objects/calendarobject/CalendarObject.h
patch
|
blob
|
history
diff --git
a/source/common/file.h
b/source/common/file.h
index
84ca16f
..
b986eb5
100644
(file)
--- a/
source/common/file.h
+++ b/
source/common/file.h
@@
-1,3
+1,6
@@
+#ifndef __COMMON_FILE_H__
+#define __COMMON_FILE_H__
+
#include <string>
#include <iostream>
#if defined (__WIN32__)
#include <string>
#include <iostream>
#if defined (__WIN32__)
@@
-6,4
+9,6
@@
#include <sys/unistd.h>
#endif
#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
diff --git
a/source/common/text.h
b/source/common/text.h
index
c4813e1
..
0cc513a
100644
(file)
--- a/
source/common/text.h
+++ b/
source/common/text.h
@@
-1,11
+1,11
@@
+#ifndef __COMMON_TEXT_H__
+#define __COMMON_TEXT_H__
+
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <iostream>
-#ifndef __COMMON_TEXT_H__
-#define __COMMON_TEXT_H__
-
struct PropertyNameValue{
std::string Name;
std::string Value;
struct PropertyNameValue{
std::string Name;
std::string Value;
diff --git
a/source/objects/calendarevent/CalendarEvent.h
b/source/objects/calendarevent/CalendarEvent.h
index
e0f7df9
..
e2bdf0d
100644
(file)
--- a/
source/objects/calendarevent/CalendarEvent.h
+++ b/
source/objects/calendarevent/CalendarEvent.h
@@
-1,3
+1,6
@@
+#ifndef __OBJECTS_CALENDAREVENT_CALENDAREVENT_H__
+#define __OBJECTS_CALENDAREVENT_CALENDAREVENT_H__
+
#include "../calendarobject/CalendarObject.h"
class CalendarEventObject: public CalendarObject{
#include "../calendarobject/CalendarObject.h"
class CalendarEventObject: public CalendarObject{
@@
-8,4
+11,6
@@
class CalendarEventObject: public CalendarObject{
void ProcessData();
void ProcessData();
-};
\ No newline at end of file
+};
+
+#endif
\ No newline at end of file
diff --git
a/source/objects/calendarobject/CalendarObject.h
b/source/objects/calendarobject/CalendarObject.h
index
88ec948
..
6b33513
100644
(file)
--- a/
source/objects/calendarobject/CalendarObject.h
+++ b/
source/objects/calendarobject/CalendarObject.h
@@
-1,3
+1,6
@@
+#ifndef __OBJECTS_CALENDAROBJECT_CALENDAROBJECT_H__
+#define __OBJECTS_CALENDAROBJECT_CALENDAROBJECT_H__
+
#include <string>
#include <iostream>
#include <fstream>
#include <string>
#include <iostream>
#include <fstream>
@@
-226,3
+229,5
@@
class CalendarObject{
virtual void ProcessData() {};
};
virtual void ProcessData() {};
};
+
+#endif
\ No newline at end of file
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy