]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ViewBase.h
John's character.C patch (bug fix).
[lyx.git] / src / frontends / controllers / ViewBase.h
index b00b58a9cac46ff5dbc238d4b32ac044dc8127b8..f84cf426f02fa65634fd2fad666ed85de71549a3 100644 (file)
@@ -35,6 +35,8 @@ public:
        virtual void show() = 0;
        /// Update dialog before/whilst showing it.
        virtual void update() = 0;
+       /// build the dialog
+       virtual void build() = 0;
 
        /** These shortcuts allow (e.g. xform's) global callback functions
            access to the buttons without making the whole controller_ public.
@@ -51,7 +53,7 @@ public:
        /** Defaults to nothing. Can be used by the Controller, however, to
            indicate to the View that something has changed and that the
            dialog therefore needs updating. */
-       virtual void partialUpdate(int id) {}
+       virtual void partialUpdate(int) {}
    
 protected:
        /// The view is, after all, controlled!