Update of /cvsroot/gcblue/gcb_wx/include/database
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23840
Modified Files:
tcLauncherDBObject.h tcAirDBObject.h
Log Message:
added ifdef MSV for #pragma once instruction
Index: tcLauncherDBObject.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcLauncherDBObject.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** tcLauncherDBObject.h 30 Jan 2004 01:02:34 -0000 1.3
--- tcLauncherDBObject.h 28 Mar 2004 14:24:27 -0000 1.4
***************
*** 23,27 ****
--- 23,29 ----
#define _LAUNCHERDBOBJECT_H_
+ #if _MSC_VER > 1000
#pragma once
+ #endif // _MSC_VER > 1000
#include "tcDatabaseObject.h"
***************
*** 54,56 ****
} // namespace Database
! #endif
\ No newline at end of file
--- 56,58 ----
} // namespace Database
! #endif
Index: tcAirDBObject.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcAirDBObject.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** tcAirDBObject.h 29 Jan 2004 00:05:01 -0000 1.5
--- tcAirDBObject.h 28 Mar 2004 14:24:27 -0000 1.6
***************
*** 21,25 ****
--- 21,27 ----
#define _AIRDBOBJECT_H_
+ #if _MSC_VER > 1000
#pragma once
+ #endif // _MSC_VER > 1000
#include "wx/wx.h"
***************
*** 60,64 ****
void PrintToFile(tcFile& file) {} ///< not supported, redundant with CSV serialization, TODO get rid of these
! int Serialize(tcFile& file, bool mbLoad) {} ///< binary serialization not supported here
int SerializeCSV(CsvTranslator* csv, bool mbLoad); ///< CSV serialization
static int WriteCSVHeader(CsvTranslator* csv); ///< writes column headings
--- 62,66 ----
void PrintToFile(tcFile& file) {} ///< not supported, redundant with CSV serialization, TODO get rid of these
! int Serialize(tcFile& file, bool mbLoad) {return 0;} ///< binary serialization not supported here
int SerializeCSV(CsvTranslator* csv, bool mbLoad); ///< CSV serialization
static int WriteCSVHeader(CsvTranslator* csv); ///< writes column headings
***************
*** 71,72 ****
--- 73,75 ----
#endif
+
|