X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c8046dded47cbd3e9b9c83051ba0530ac3b9491..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/xtixml.h diff --git a/include/wx/xtixml.h b/include/wx/xtixml.h index a61129dfcb..ce64af46cc 100644 --- a/include/wx/xtixml.h +++ b/include/wx/xtixml.h @@ -2,7 +2,7 @@ // Name: wx/xtixml.h // Purpose: xml streaming runtime metadata information (extended class info) // Author: Stefan Csomor -// Modified by: +// Modified by: // Created: 27/07/03 // RCS-ID: $Id$ // Copyright: (c) 2003 Stefan Csomor @@ -12,24 +12,20 @@ #ifndef _WX_XTIXMLH__ #define _WX_XTIXMLH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "xtixml.h" -#endif - #include "wx/wx.h" #if wxUSE_EXTENDED_RTTI #include "wx/xtistrm.h" -class wxXmlNode ; +class WXDLLIMPEXP_FWD_XML wxXmlNode ; -class wxXmlWriter : public wxWriter +class WXDLLIMPEXP_XML wxXmlWriter : public wxWriter { public : wxXmlWriter( wxXmlNode * parent ) ; - ~wxXmlWriter() ; + virtual ~wxXmlWriter() ; // // streaming callbacks @@ -66,14 +62,14 @@ public : virtual void DoBeginWriteElement() ; virtual void DoEndWriteElement() ; - // insert an object reference to an already written object + // insert an object reference to an already written object virtual void DoWriteRepeatedObject( int objectID ) ; // insert a null reference virtual void DoWriteNullObject() ; // writes a delegate in the stream format - virtual void DoWriteDelegate( const wxObject *object, const wxClassInfo* classInfo , const wxPropertyInfo *propInfo , + virtual void DoWriteDelegate( const wxObject *object, const wxClassInfo* classInfo , const wxPropertyInfo *propInfo , const wxObject *eventSink , int sinkObjectID , const wxClassInfo* eventSinkClassInfo , const wxHandlerInfo* handlerIndo ) ; private : struct wxXmlWriterInternal ; @@ -84,11 +80,11 @@ private : wxXmlReader handles streaming in a class from XML */ -class wxXmlReader : public wxReader +class WXDLLIMPEXP_XML wxXmlReader : public wxReader { public: wxXmlReader(wxXmlNode *parent) { m_parent = parent ; } - ~wxXmlReader() {} + virtual ~wxXmlReader() {} // Reads a component from XML. The return value is the root object ID, which can // then be used to ask the depersister about that object