Changeset 21085 in vbox
- Timestamp:
- Jun 30, 2009 5:05:03 PM (16 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/settings.h
r21079 r21085 242 242 #pragma warning (disable:4251) 243 243 #pragma warning (disable:4275) 244 #endif 245 246 /** @def IN_VBOXXML_R3 247 * Used to indicate whether we're inside the same link module as the 248 * XML Settings File Manipulation API. 249 * 250 * @todo should go to a separate common include together with VBOXXML2_CLASS 251 * once there becomes more than one header in the VBoxXML2 library. 252 */ 253 #ifdef DOXYGEN_RUNNING 254 # define IN_VBOXXML_R3 255 #endif 256 257 /** @def VBOXXML_CLASS 258 * Class export/import wrapper. */ 259 #ifdef IN_VBOXXML_R3 260 # define VBOXXML_CLASS DECLEXPORT_CLASS 261 #else 262 # define VBOXXML_CLASS DECLIMPORT_CLASS 244 263 #endif 245 264 -
trunk/include/iprt/xml_cpp.h
r21079 r21085 40 40 #include <iprt/ministring_cpp.h> 41 41 42 /** @def IN_VBOXXML_R343 * Used to indicate whether we're inside the same link module as the44 * XML Settings File Manipulation API.45 *46 * @todo should go to a separate common include together with VBOXXML2_CLASS47 * once there becomes more than one header in the VBoxXML2 library.48 */49 #ifdef DOXYGEN_RUNNING50 # define IN_VBOXXML_R351 #endif52 53 /** @def VBOXXML_CLASS54 * Class export/import wrapper. */55 #ifdef IN_VBOXXML_R356 # define VBOXXML_CLASS DECLEXPORT_CLASS57 #else58 # define VBOXXML_CLASS DECLIMPORT_CLASS59 #endif60 61 42 /* Forwards */ 62 43 typedef struct _xmlParserInput xmlParserInput; … … 76 57 * Base exception class. 77 58 */ 78 class VBOXXML_CLASS Error : public std::exception59 class RT_DECL_CLASS Error : public std::exception 79 60 { 80 61 public: … … 116 97 }; 117 98 118 class VBOXXML_CLASS LogicError : public Error99 class RT_DECL_CLASS LogicError : public Error 119 100 { 120 101 public: … … 127 108 }; 128 109 129 class VBOXXML_CLASS RuntimeError : public Error110 class RT_DECL_CLASS RuntimeError : public Error 130 111 { 131 112 public: … … 136 117 }; 137 118 138 class VBOXXML_CLASS XmlError : public RuntimeError119 class RT_DECL_CLASS XmlError : public RuntimeError 139 120 { 140 121 public: … … 147 128 ////////////////////////////////////////////////////////////////////////////// 148 129 149 class VBOXXML_CLASS ENotImplemented : public LogicError130 class RT_DECL_CLASS ENotImplemented : public LogicError 150 131 { 151 132 public: … … 154 135 }; 155 136 156 class VBOXXML_CLASS EInvalidArg : public LogicError137 class RT_DECL_CLASS EInvalidArg : public LogicError 157 138 { 158 139 public: … … 161 142 }; 162 143 163 class VBOXXML_CLASS EDocumentNotEmpty : public LogicError144 class RT_DECL_CLASS EDocumentNotEmpty : public LogicError 164 145 { 165 146 public: … … 168 149 }; 169 150 170 class VBOXXML_CLASS ENodeIsNotElement : public LogicError151 class RT_DECL_CLASS ENodeIsNotElement : public LogicError 171 152 { 172 153 public: … … 178 159 ////////////////////////////////////////////////////////////////////////////// 179 160 180 class VBOXXML_CLASS ENoMemory : public RuntimeError, public std::bad_alloc161 class RT_DECL_CLASS ENoMemory : public RuntimeError, public std::bad_alloc 181 162 { 182 163 public: … … 185 166 }; 186 167 187 class VBOXXML_CLASS EIPRTFailure : public RuntimeError168 class RT_DECL_CLASS EIPRTFailure : public RuntimeError 188 169 { 189 170 public: … … 201 182 * The Stream class is a base class for I/O streams. 202 183 */ 203 class VBOXXML_CLASS Stream184 class RT_DECL_CLASS Stream 204 185 { 205 186 public: … … 236 217 * useful functionality. 237 218 */ 238 class VBOXXML_CLASS Input : virtual public Stream219 class RT_DECL_CLASS Input : virtual public Stream 239 220 { 240 221 public: … … 254 235 * 255 236 */ 256 class VBOXXML_CLASS Output : virtual public Stream237 class RT_DECL_CLASS Output : virtual public Stream 257 238 { 258 239 public: … … 291 272 * when reading from or writing to such File instances. 292 273 */ 293 class VBOXXML_CLASS File : public Input, public Output274 class RT_DECL_CLASS File : public Input, public Output 294 275 { 295 276 public: … … 374 355 * memory buffer. 375 356 */ 376 class VBOXXML_CLASS MemoryBuf : public Input357 class RT_DECL_CLASS MemoryBuf : public Input 377 358 { 378 359 public: … … 409 390 typedef FNEXTERNALENTITYLOADER *PFNEXTERNALENTITYLOADER; 410 391 411 class VBOXXML_CLASS GlobalLock392 class RT_DECL_CLASS GlobalLock 412 393 { 413 394 public: … … 454 435 class ContentNode; 455 436 456 class VBOXXML_CLASS Node437 class RT_DECL_CLASS Node 457 438 { 458 439 public: … … 488 469 }; 489 470 490 class VBOXXML_CLASS ElementNode : public Node471 class RT_DECL_CLASS ElementNode : public Node 491 472 { 492 473 public: … … 516 497 }; 517 498 518 class VBOXXML_CLASS ContentNode : public Node499 class RT_DECL_CLASS ContentNode : public Node 519 500 { 520 501 public: … … 529 510 }; 530 511 531 class VBOXXML_CLASS AttributeNode : public Node512 class RT_DECL_CLASS AttributeNode : public Node 532 513 { 533 514 public: … … 547 528 */ 548 529 549 class VBOXXML_CLASS NodesLoop530 class RT_DECL_CLASS NodesLoop 550 531 { 551 532 public: … … 565 546 */ 566 547 567 class VBOXXML_CLASS Document548 class RT_DECL_CLASS Document 568 549 { 569 550 public: … … 594 575 */ 595 576 596 class VBOXXML_CLASS XmlParserBase577 class RT_DECL_CLASS XmlParserBase 597 578 { 598 579 protected: … … 608 589 */ 609 590 610 class VBOXXML_CLASS XmlFileParser : public XmlParserBase591 class RT_DECL_CLASS XmlFileParser : public XmlParserBase 611 592 { 612 593 public: … … 630 611 */ 631 612 632 class VBOXXML_CLASS XmlFileWriter613 class RT_DECL_CLASS XmlFileWriter 633 614 { 634 615 public:
Note:
See TracChangeset
for help on using the changeset viewer.