]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.h
* src/frontends/qt4/ui/ParagraphUi.ui: just tiny cosmetics (make dialog more compact)
[lyx.git] / src / LyX.h
index 8dc2661e5a690226174d2aaaa989bde4f4cd5ece..efd82fd83f2809c0fbfbb5d3b8c23560b04f4f5b 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();
@@ -79,7 +83,7 @@ public:
        ///
        KeyMap & topLevelKeymap();
        KeyMap const & topLevelKeymap() const;
-       
+
        ///
        Converters & converters();
        Converters & systemConverters();
@@ -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();
@@ -150,7 +157,7 @@ private:
        /// \param enc_name encodings definition file
        /// \param symbols_name unicode->LaTeX mapping file
        bool readEncodingsFile(std::string const & enc_name,
-                              std::string const & symbols_name);
+                              std::string const & symbols_name);
        /// parsing of non-gui LyX options.
        void easyParse(int & argc, char * argv[]);
        /// shows up a parsing error on screen