LGuiSessionWriter.hh
Go to the documentation of this file.00001 #ifndef _L_GUI_SESSION_WRITER_HH
00002 #define _L_GUI_SESSION_WRITER_HH
00003
00013 #include "QGlobalWriter.hh"
00014
00015 class LGuiSessionWriter : public QGlobalWriter
00016 {
00017 public:
00018 LGuiSessionWriter();
00019 ~LGuiSessionWriter();
00020
00021 void SetQObject(const std::string& name, const QObject* obj);
00022
00023 private:
00024 QError Open(const std::string& filename, const std::string& opt = "");
00025 QError Close();
00026 std::ofstream fGuiSessionFile;
00027 };
00028
00029 #endif