]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
* do not lookup the same macro all the time
[lyx.git] / src / LyX.h
index 8dc2661e5a690226174d2aaaa989bde4f4cd5ece..0a0602e3864f98de5562a1656a32a7c94fded661 100644 (file)
--- a/src/LyX.h
+++ b/src/LyX.h
 
 namespace lyx {
 
+namespace support {
+class FileName;
+}
+
 class Buffer;
 class BufferList;
 class Converters;
 class ErrorItem;
 class Inset;
 class LyXFunc;
-class LyXServer;
-class LyXServerSocket;
+class Server;
+class ServerSocket;
 class LyXView;
 class Messages;
 class Mover;
@@ -66,11 +70,11 @@ public:
        LyXFunc & lyxFunc();
        LyXFunc const & lyxFunc() const;
        ///
-       LyXServer & server();
-       LyXServer const & server() const;
+       Server & server();
+       Server const & server() const;
        ///
-       LyXServerSocket & socket();
-       LyXServerSocket const & socket() const;
+       ServerSocket & socket();
+       ServerSocket const & socket() const;
 
        ///
        frontend::Application & application();
@@ -102,6 +106,9 @@ public:
        /// Execute batch commands if available.
        void execBatchCommands();
 
+       ///
+       void addFileToLoad(support::FileName const &);
+
 private:
        /// Do some cleanup in preparation of an exit.
        void prepareExit();