1 /*-*- c++ -*-********************************************************
2 * wxlparser.h : parsers, import/export for wxLayoutList *
4 * (C) 1998 by Karsten Ballüder (Ballueder@usa.net) *
7 *******************************************************************/
12 # pragma interface "wxlparser.h"
19 enum wxLayoutExportType
26 enum wxLayoutExportMode
29 WXLO_EXPORT_AS_TEXT_AND_COMMANDS
,
31 WXLO_EXPORT_AS_OBJECTS
34 struct wxLayoutExportObject
36 wxLayoutExportType type
;
40 wxLayoutObjectBase
*object
;
42 ~wxLayoutExportObject()
44 if(type
== WXLO_EXPORT_TEXT
|| type
== WXLO_EXPORT_HTML
)
49 /// import text into a wxLayoutList (including linefeeds):
50 void wxLayoutImportText(wxLayoutList
&list
, String
const &str
);
53 wxLayoutExportObject
*wxLayoutExport(wxLayoutList
&list
,
54 wxLayoutList::iterator
&from
,
55 wxLayoutExportMode WXLO_EXPORT_AS_TEXT
);