]> git.lyx.org Git - lyx.git/blobdiff - src/Session.h
* GuiView.cpp:
[lyx.git] / src / Session.h
index c66bf30e9e7dea18f3f54f20fb429c21c9785ed2..772027ec80c4c340de12093e267641870c2ee677 100644 (file)
@@ -324,6 +324,7 @@ public:
        SessionInfoSection const & sessionInfo() const { return session_info; }
 
 private:
+       friend class LyX;
        /// uncopiable
        Session(Session const &);
        void operator=(Session const &);
@@ -350,6 +351,10 @@ private:
        SessionInfoSection session_info;
 };
 
-}
+/// This is a singleton class. Get the instance.
+/// Implemented in LyX.cpp.
+Session & theSession();
+
+} // lyx
 
 #endif