]> git.lyx.org Git - lyx.git/blobdiff - src/Server.h
Refactor InsetQuotes.h enums
[lyx.git] / src / Server.h
index e20406a6d418c7ca9388011164d5818627bf4f75..b277284ace9b66b099750720903e437aa272972d 100644 (file)
@@ -120,7 +120,7 @@ private:
        void closeConnection();
 
        /// Load files in another running instance of LyX
-       bool loadFilesInOtherInstance();
+       bool loadFilesInOtherInstance() const;
 
 #ifndef _WIN32
        /// start a pipe
@@ -206,13 +206,13 @@ public:
        // lyxserver is using a buffer that is being edited with a bufferview.
        // With a common buffer list this is not a problem, maybe. (Alejandro)
        ///
-       Server(std::string const & pip);
+       Server(std::string const & pipes);
        ///
        ~Server();
        ///
        void notifyClient(std::string const &);
        ///
-       bool deferredLoadingToOtherInstance() { return pipes_.deferredLoading(); }
+       bool deferredLoadingToOtherInstance() const { return pipes_.deferredLoading(); }
 
        /// whilst crashing etc.
        void emergencyCleanup() { pipes_.emergencyCleanup(); }