Changeset 1180:80e8c23a659a
- Timestamp:
- 03/15/09 12:45:18 (3 years ago)
- Branch:
- default
- Location:
- trunk
- Files:
-
- 5 edited
-
include/libdodo/graphicsImage.h (modified) (1 diff)
-
include/libdodo/graphicsTransform.h (modified) (2 diffs)
-
include/libdodo/ioChannel.h (modified) (4 diffs)
-
src/graphicsTransform.cc (modified) (1 diff)
-
src/ioChannel.cc (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/libdodo/graphicsImage.h
r1179 r1180 389 389 }; 390 390 }; 391 392 #endif 393 394 #endif 391 #endif 392 393 #endif -
trunk/include/libdodo/graphicsTransform.h
r1160 r1180 34 34 35 35 #ifdef IMAGEMAGICK_EXT 36 37 #ifndef IMAGEMAGICK_PRE_6338 39 #include <magick/MagickCore.h>40 41 #else42 43 #include <magick/ImageMagick.h>44 45 #endif46 47 #include <math.h>48 49 #include <libdodo/types.h>50 #include <libdodo/graphicsImage.h>51 #include <libdodo/graphicsTransformEx.h>52 #include <libdodo/xexec.h>53 54 36 namespace dodo 55 37 { 56 38 namespace graphics 57 39 { 40 class image; 41 58 42 /** 59 43 * @enum transformRotateDirectionAngleEnum defines rotation options … … 133 117 }; 134 118 }; 135 136 119 #endif 137 120 -
trunk/include/libdodo/ioChannel.h
r1166 r1180 36 36 #include <libdodo/types.h> 37 37 #include <libdodo/ioEventInfo.h> 38 #include <libdodo/pcSyncProcessSection.h>39 #include <libdodo/pcSyncThreadSection.h>40 #include <libdodo/pcSyncProtector.h>41 38 42 39 namespace dodo 43 40 { 41 namespace pc 42 { 43 namespace sync 44 { 45 class section; 46 }; 47 }; 48 44 49 namespace io 45 50 { … … 70 75 71 76 #ifndef IO_WO_XEXEC 72 73 77 /** 74 78 * @class __xexecIoChannelCollectedData … … 89 93 dodoString buffer; ///< data buffer 90 94 }; 91 92 95 #endif 93 96 … … 178 181 179 182 #ifndef IO_WO_XEXEC 183 __xexecIoChannelCollectedData collectedData; ///< data collected for xexec 184 #endif 180 185 181 __xexecIoChannelCollectedData collectedData; ///< data collected for xexec182 183 #endif184 186 pc::sync::section *keeper; ///< section locker 185 187 short protection; ///< type of IO protection[see channelProtectionTypeEnum] -
trunk/src/graphicsTransform.cc
r1162 r1180 28 28 */ 29 29 30 #include <libdodo/ graphicsTransform.h>30 #include <libdodo/directives.h> 31 31 32 32 #ifdef IMAGEMAGICK_EXT 33 #ifndef IMAGEMAGICK_PRE_63 34 #include <magick/MagickCore.h> 35 #else 36 #include <magick/ImageMagick.h> 37 #endif 38 39 #include <math.h> 40 41 #include <libdodo/graphicsTransform.h> 42 #include <libdodo/graphicsImage.h> 43 #include <libdodo/graphicsTransformEx.h> 33 44 34 45 using namespace dodo::graphics; -
trunk/src/ioChannel.cc
r1166 r1180 28 28 */ 29 29 30 #include <libdodo/directives.h> 31 30 32 #include <libdodo/ioChannel.h> 33 #include <libdodo/xexec.h> 34 #include <libdodo/types.h> 35 #include <libdodo/ioEventInfo.h> 36 #include <libdodo/pcSyncProcessSection.h> 37 #include <libdodo/pcSyncThreadSection.h> 38 #include <libdodo/pcSyncProtector.h> 31 39 32 40 using namespace dodo::io; 33 41 34 42 #ifndef IO_WO_XEXEC 35 36 43 __xexecIoChannelCollectedData::__xexecIoChannelCollectedData(xexec *a_executor, 37 44 short execObject) : __xexecCollectedData(a_executor, execObject) 38 45 { 39 46 } 40 41 47 #endif 42 48 … … 47 53 keeper(NULL), 48 54 protection(protection) 49 50 #ifndef IO_WO_XEXEC 51 55 #ifndef IO_WO_XEXEC 52 56 , 53 57 collectedData(this, XEXEC_OBJECT_XEXEC) 54 55 58 #endif 56 59 { … … 115 118 116 119 #ifndef IO_WO_XEXEC 117 118 120 collectedData.buffer.assign(data, inSize); 119 121 delete [] data; … … 124 126 125 127 collectedData.buffer.clear(); 126 127 #else 128 128 #else 129 129 a_str.assign(data, inSize); 130 130 131 131 delete [] data; 132 133 132 #endif 134 133 … … 167 166 168 167 #ifndef IO_WO_XEXEC 169 170 168 if (n > 0) 171 169 { … … 184 182 185 183 collectedData.buffer.clear(); 186 187 #else 188 184 #else 189 185 if (n > 0) 190 186 { … … 197 193 198 194 delete [] data; 199 200 195 #endif 201 196 … … 211 206 212 207 #ifndef IO_WO_XEXEC 213 214 208 collectedData.buffer.assign(a_data, 0, outSize); 215 209 … … 227 221 throw; 228 222 } 229 230 #else 231 223 #else 232 224 _write(a_data.c_str()); 233 234 225 #endif 235 226 … … 249 240 250 241 #ifndef IO_WO_XEXEC 251 252 242 collectedData.buffer = a_data; 253 243 … … 265 255 throw; 266 256 } 267 268 #else 269 257 #else 270 258 _writeStream(a_data.c_str()); 271 272 #endif 273 274 #ifndef IO_WO_XEXEC 275 performXExec(postExec); 276 277 collectedData.buffer.clear(); 278 #endif 279 } 280 281 //------------------------------------------------------------------- 282 259 #endif 260 261 #ifndef IO_WO_XEXEC 262 performXExec(postExec); 263 264 collectedData.buffer.clear(); 265 #endif 266 } 267 268 //------------------------------------------------------------------- 269
Note: See TracChangeset
for help on using the changeset viewer.
