]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Menubar_pimpl.h
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / Menubar_pimpl.h
index 16dfdac303fe7b4fda190d1cc9bfd6200b751824..e1d43cec378a86d39d22d9753129b2f3ba64dea9 100644 (file)
@@ -2,11 +2,13 @@
 /**
  * \file Menubar_pimpl.h
  * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2002 the LyX Team
  * Copyright 1996-2001 Lars Gullik Bjønnes
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes, larsbj@lyx.org
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef MENUBAR_PIMPL_H
@@ -39,6 +41,8 @@ struct Menubar::Pimpl {
 public:
        ///
        Pimpl(LyXView *, MenuBackend const &);
+       ///
+       ~Pimpl();
 
        /// update the state of the menuitems
        void update();
@@ -62,7 +66,7 @@ private:
                           std::vector<int> & smn, bool & all_disabled);
 
        //
-       void makeMenubar(Menu const &menu);
+       void makeMenubar(Menu const & menu);
 
        ///
        XFormsView * owner_;
@@ -72,9 +76,8 @@ private:
        struct ItemInfo {
                ///
                ItemInfo(Menubar::Pimpl * p, MenuItem const * i,
-                        FL_OBJECT * o)
-
-                       : pimpl_(p), obj_(o) { item_.reset(i); }
+                        FL_OBJECT * o);
+               ~ItemInfo();
                ///
                Menubar::Pimpl * pimpl_;
                ///