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_INFO_H_
00039 #define _CE_VIDEO_INFO_H_ 0x1
00041 #ifndef __cplusplus
00042 #error ceVideoInfo.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 "ceTypedef.h"
00055 #include "begin_code.h"
00056
00057 #ifndef _WINDOWS_H
00058
00059 #define MAX_PATH 0x00000104
00060 #endif
00061
00063 #define CE_VIDEOID_FIRST 0x1
00064
00065 #define CE_VIDEOID_LAST 0xfffe
00066
00067 #define CE_VIDEOID_ALL 0xffff
00068
00070 #define CE_VIDEO_NOPLAYBAR 0x0002
00071
00073 #define CE_VIDEO_NOMENU 0x0008
00074
00075 #define CE_VIDEO_HIDE 0x0010
00076
00077 #define CE_VIDEO_SHOW 0x0020
00078
00082 #define CE_VIDEO_REPEAT 0x0040
00083
00084 #define CE_VIDEO_AUTOPLAY 0x0080
00085
00086 namespace ce {
00087
00088
00089
00093 struct DECLSPEC SVideoInfo
00094 {
00096 unsigned int id;
00098 unsigned long flags;
00099
00100
00102 int x;
00104 int y;
00106 unsigned int width;
00108 unsigned int height;
00109
00111 unsigned int source_width;
00113 unsigned int source_height;
00114
00115
00117 short autoplay;
00119 short repeat;
00120
00121
00123 unsigned long start;
00125 unsigned long end;
00127 unsigned long length;
00129 unsigned long seek;
00130
00131
00133 unsigned long volume;
00135 unsigned int zoom;
00137 unsigned long speed;
00139 short visible;
00140
00141
00143 char file_name[MAX_PATH];
00144
00145 #if defined(_WIN32) || defined(__WIN32__)
00146 HWND hVideo;
00147 #endif
00148
00149
00150
00152 SVideoInfo(void);
00153
00157 SVideoInfo(const SVideoInfo &VideoInfo);
00158
00159
00160
00161 const SVideoInfo& APICALL
00162 operator = (const SVideoInfo &VideoInfo);
00163
00164 inline const SVideoInfo* APICALL
00165 operator -> (void) const
00166 { return this; };
00167
00168 };
00169
00170 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00171
00172 const int APICALL
00173 operator == (const SVideoInfo &VideoInfoA, const SVideoInfo &VideoInfoB);
00174
00175 const int APICALL
00176 operator != (const SVideoInfo &VideoInfoA, const SVideoInfo &VideoInfoB);
00177
00178 #endif // DOXYGEN_SHOULD_SKIP_THIS
00179
00180
00181
00182 }
00183
00184 #include "close_code.h"
00185
00186 #endif // _CE_VIDEO_INFO_H_