Diana Software
LGuiSessionWriter.hh
Go to the documentation of this file.
1 #ifndef _L_GUI_SESSION_WRITER_HH
2 #define _L_GUI_SESSION_WRITER_HH
3 
13  #include "QGlobalWriter.hh"
14 namespace Diana { class QObject; };
15 
17  {
18  public:
21 
22  QError SetQObject(const std::string& name, const std::string& className, const Diana::QObject* obj, const std::string& descr);
23 
24  private:
25  QError Open(const std::string& filename, const std::string& opt = "");
26  QError Close();
27  std::ofstream fGuiSessionFile;
28 };
29 
30 #endif
QError Close()
Close file, called by QGlobalWriterDispatcher.
QError Open(const std::string &filename, const std::string &opt="")
Open file, called by QGlobalWriterDispatcher.
QError SetQObject(const std::string &name, const std::string &className, const Diana::QObject *obj, const std::string &descr)
std::ofstream fGuiSessionFile
error class with error type and description
Definition: QError.hh:115
Abstract class for global writers.
base class for objects handled by QEvent and QGlobalDataManager.
Definition: QObject.hh:76
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...