]> git.lyx.org Git - lyx.git/blobdiff - src/Server.h
Remove unused Counters::copy
[lyx.git] / src / Server.h
index 40021daa414c14bf82f15b36bc2ab1c60f48e3e5..b277284ace9b66b099750720903e437aa272972d 100644 (file)
@@ -104,7 +104,7 @@ public:
 #endif
 
        /// Tell whether we asked another instance of LyX to open the files
-       bool deferredLoading() { return deferred_loading_; }
+       bool deferredLoading() const { return deferred_loading_; }
 
 private:
        /// the filename of the in pipe
@@ -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(); }