#endif
#include "wx/defs.h"
+
+#if wxUSE_STREAMS && wxUSE_SERIAL
+
#include "wx/object.h"
#include "wx/string.h"
#include "wx/stream.h"
wxList children;
wxObjectStreamInfo *parent;
wxObject *object;
- bool duplicate;
+ bool duplicate, recall;
};
class wxObjectOutputStream : public wxFilterOutputStream {
public:
wxObjectInputStream(wxInputStream& s);
+ bool SecondCall() const { return m_secondcall; }
+ void Recall(bool on = TRUE) { m_current_info->recall = on; }
+
wxObject *GetChild(int no) const;
wxObject *GetChild();
int NumberOfChildren() const { return m_current_info->n_children; }
void ProcessObjectData(wxObjectStreamInfo *info);
protected:
+ bool m_secondcall;
wxObjectStreamInfo *m_current_info;
wxList m_solver;
};
#endif
+ // wxUSE_STREAMS && wxUSE_SERIAL
+
+#endif
+// _WX_WXOBJSTRM_H__