Changeset 59 in pacpusframework for trunk/include
- Timestamp:
- Jan 9, 2013, 11:30:53 AM (12 years ago)
- Location:
- trunk/include/Pacpus/kernel
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/DbiteException.h
r31 r59 12 12 #define DEF_PACPUS_DBITEEXCEPTION_H 13 13 14 #include <Pacpus/kernel/FileLibConfig.h> 15 14 16 #include <exception> 15 17 #include <string> … … 17 19 namespace pacpus { 18 20 19 class DbiteException21 class FILELIB_API DbiteException 20 22 : public std::exception 21 23 { 22 24 public: 25 /// @todo Documentation 23 26 DbiteException(); 27 /// @todo Documentation 24 28 DbiteException(const char * what); 29 /// @todo Documentation 25 30 ~DbiteException() throw(); 26 31 32 /// @todo Documentation 27 33 virtual const char * what() const throw(); 28 34 -
trunk/include/Pacpus/kernel/DbiteFile.h
r31 r59 12 12 #define DEF_PACPUS_DBITEFILE_H 13 13 14 #include <Pacpus/kernel/cstdint.h> 15 #include <Pacpus/kernel/FileLibConfig.h> 16 #include <Pacpus/kernel/hdfile_header_t.h> 17 #include <Pacpus/kernel/road_time.h> 18 14 19 #include <fstream> 15 20 #include <iosfwd> 16 21 #include <string> 17 22 18 #include <Pacpus/kernel/cstdint.h>19 #include <Pacpus/kernel/hdfile_header_t.h>20 #include <Pacpus/kernel/road_time.h>21 22 23 namespace pacpus { 23 24 24 struct VariableDataSizeTag {};25 extern VariableDataSizeTag VariableDataSize;26 27 struct ReadModeTag {};28 extern ReadModeTag ReadMode;29 30 struct WriteModeTag {};31 extern WriteModeTag WriteMode;32 33 struct DiagnoseModeTag {};34 extern DiagnoseModeTag DiagnoseMode;35 36 class DbiteFile25 struct FILELIB_API VariableDataSizeTag {}; 26 FILELIB_API extern VariableDataSizeTag VariableDataSize; 27 28 struct FILELIB_API ReadModeTag {}; 29 FILELIB_API extern ReadModeTag ReadMode; 30 31 struct FILELIB_API WriteModeTag {}; 32 FILELIB_API extern WriteModeTag WriteMode; 33 34 struct FILELIB_API DiagnoseModeTag {}; 35 FILELIB_API extern DiagnoseModeTag DiagnoseMode; 36 37 class FILELIB_API DbiteFile 37 38 { 38 39 public: 40 /// @todo Documentation 39 41 enum ReadDirection 40 42 { -
trunk/include/Pacpus/kernel/pacpus.h
r31 r59 34 34 35 35 #ifdef __GNUC__ 36 # define PACPUS_DEPRECATED(func) func __attribute__ ((deprecated))37 # define PACPUS_DEPRECATED_MSG(func, msg) func __attribute__ ((deprecated))36 # define PACPUS_DEPRECATED(func) func __attribute__ ((deprecated)) 37 # define PACPUS_DEPRECATED_MSG(func, msg) PACPUS_DEPRECATED(func) 38 38 #elif defined(_MSC_VER) 39 # define PACPUS_DEPRECATED(func) __declspec(deprecated) func40 # define PACPUS_DEPRECATED_MSG(func, msg) __declspec(deprecated("was declared deprecated: " msg)) func39 # define PACPUS_DEPRECATED(func) __declspec(deprecated) func 40 # define PACPUS_DEPRECATED_MSG(func, msg) __declspec(deprecated("was declared deprecated: " msg)) func 41 41 #else 42 42 # pragma message("WARNING: You need to implement PACPUS_DEPRECATED for this compiler") 43 # define PACPUS_DEPRECATED(func) func44 # define PACPUS_DEPRECATED_MSG(func, msg) func43 # define PACPUS_DEPRECATED(func) func 44 # define PACPUS_DEPRECATED_MSG(func, msg) func 45 45 #endif 46 46
Note:
See TracChangeset
for help on using the changeset viewer.