]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/LyXView.h
* src/frontends/qt4/GuiSelection.C
[lyx.git] / src / frontends / LyXView.h
index 6f36161c09b2a6b7f2e43915673216a766a7a62c..b51aa65447b6c39a31f80c82cc6d7f72a230ed3b 100644 (file)
@@ -27,6 +27,8 @@
 
 namespace lyx {
 
+namespace support { class FileName; }
+
 class Buffer;
 class InsetBase;
 class Menubar;
@@ -68,13 +70,12 @@ public:
 
        virtual void close() = 0;
 
+       virtual void setFocus() = 0;
+
        std::vector<int> const & workAreaIds() const { return work_area_ids_; }
 
        void setWorkArea(frontend::WorkArea * work_area);
 
-       /// This signal is emitted with the LyXView id when it is closed.
-       boost::signal<void(int)> closed;
-
        /**
         * This is called after the concrete view has been created.
         * We have to have the toolbar and the other stuff created
@@ -87,7 +88,9 @@ public:
                unsigned int width,
                unsigned int height,
                int posx, int posy,
-               bool maximize) = 0;
+               bool maximize,
+               unsigned int iconSizeXY,
+               const std::string & geometryArg) = 0;
 
        /// save the geometry state in the session manager.
        virtual void saveGeometry() = 0;
@@ -126,7 +129,7 @@ public:
        //@}
 
        /// load a buffer into the current workarea
-       bool loadLyXFile(std::string const &  name, bool tolastfiles = true);
+       bool loadLyXFile(support::FileName const &  name, bool tolastfiles = true);
 
        /// set a buffer to the current workarea
        void setBuffer(Buffer * b);