/**
* \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
public:
///
Pimpl(LyXView *, MenuBackend const &);
+ ///
+ ~Pimpl();
/// update the state of the menuitems
void update();
std::vector<int> & smn, bool & all_disabled);
//
- void makeMenubar(Menu const &menu);
+ void makeMenubar(Menu const & menu);
///
XFormsView * owner_;
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_;
///