Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00038 #ifndef _CE_VIDEO_VERSION_H_
00039 #define _CE_VIDEO_VERSION_H_ 0x1
00041 #ifndef __cplusplus
00042 #error ceVideoVersion.h requires C++ compilation (use a .cpp suffix)
00043 #endif
00044
00045 #if __GNUC__ >= 0x3
00046 #pragma GCC system_header
00047 #endif
00048
00049 #if _MSC_VER > 1000
00050 #pragma once
00051 #pragma warning(disable: 4100)
00052 #endif
00053
00054 #include "begin_code.h"
00055
00056 #define CE_VIDEO_VERSION_MAJOR 0x0 //!< \brief Major version number.
00057 #define CE_VIDEO_VERSION_MINOR 0x0 //!< \brief Minor version number.
00058 #define CE_VIDEO_VERSION_PATCH 0x0 //!< \brief Patch version number.
00059 #define CE_VIDEO_VERSION_STRING "pre-alpha\0" //!< \brief Version in string.
00060
00064 #define CE_VIDEO_VERSION ((CE_VIDEO_VERSION_MAJOR << 16) | \
00065 (CE_VIDEO_VERSION_MINOR << 0x8) | \
00066 CE_VIDEO_VERSION_PATCH)
00067
00068 namespace ce {
00069
00070
00071
00073 struct DECLSPEC SVideoVersion
00074 {
00075 short major;
00076 short minor;
00077 short path;
00078
00079
00080
00082 SVideoVersion(void);
00083
00087 SVideoVersion(const SVideoVersion &VideoVersion);
00088
00089
00090
00091 const SVideoVersion& APICALL
00092 operator = (const SVideoVersion &VideoVersion);
00093
00094 inline const SVideoVersion* APICALL
00095 operator -> (void) const
00096 { return this; };
00097
00098 };
00099
00100 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00101
00102 const int APICALL
00103 operator == (const SVideoVersion &VideoVersionA,
00104 const SVideoVersion &VideoVersionB);
00105
00106 const int APICALL
00107 operator != (const SVideoVersion &VideoVersionA,
00108 const SVideoVersion &VideoVersionB);
00109
00110 const int APICALL
00111 operator <= (const SVideoVersion &VideoVersionA,
00112 const SVideoVersion &VideoVersionB);
00113
00114 const int APICALL
00115 operator >= (const SVideoVersion &VideoVersionA,
00116 const SVideoVersion &VideoVersionB);
00117
00118 const int APICALL
00119 operator < (const SVideoVersion &VideoVersionA,
00120 const SVideoVersion &VideoVersionB);
00121
00122 const int APICALL
00123 operator > (const SVideoVersion &VideoVersionA,
00124 const SVideoVersion &VideoVersionB);
00125
00126 #endif // DOXYGEN_SHOULD_SKIP_THIS
00127
00128
00129
00130 }
00131
00132 #include "close_code.h"
00133
00134 #endif // _CE_VIDEO_VERSION_H_