]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Application.h
* src/frontends/qt4/GuiSelection.C
[lyx.git] / src / frontends / Application.h
index 03cdf36c6a43de9d3903de3231a0bfbd886ec9cf..e78221326400ac626db6a2f45b63ea81d5dea2ca 100644 (file)
@@ -168,8 +168,7 @@ public:
        * remove a I/O read callback
        * @param fd socket descriptor (file/socket/etc)
        */
-       template<class T>
-       void unregisterSocketCallback(T fd);
+       virtual void unregisterSocketCallback(int fd) = 0;
 
        /// Create the main window with given geometry settings.
        LyXView & createView(unsigned int width, unsigned int height,
@@ -177,10 +176,10 @@ public:
                const std::string & geometryArg);
        
        /// 
-       LyXView const & currentView() const;
+       LyXView const * currentView() const;
 
        /// 
-       LyXView & currentView();
+       LyXView * currentView();
 
        ///
        void setCurrentView(LyXView & current_view);