- Timestamp:
- Jan 9, 2013, 11:30:53 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 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 -
trunk/src/FileLib/CMakeLists.txt
r58 r59 10 10 11 11 # ======================================== 12 # Compiler definitions 13 # ======================================== 14 add_definitions( 15 -DFILELIB_EXPORTS 16 ) 17 18 # ======================================== 12 19 # List of sources 13 20 # ======================================== … … 17 24 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/DbiteFile.h 18 25 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/DbiteFileTypes.h 26 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/FileLibConfig.h 19 27 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/hdfile_header_t 20 28 ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/road_time.h … … 27 35 # ======================================== 28 36 pacpus_add_library( 29 ${PROJECT_NAME} 37 ${PROJECT_NAME} SHARED 30 38 ${PROJECT_SRCS} 31 39 )
Note:
See TracChangeset
for help on using the changeset viewer.