2002-09-05 14:10:50 +00:00
|
|
|
/**
|
|
|
|
* \file Menubar.C
|
|
|
|
* Read the file COPYING
|
2002-03-21 21:21:28 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Jean-Marc Lasgouttes
|
2000-07-24 13:53:19 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* Full author contact details are available in file CREDITS
|
|
|
|
*/
|
2000-07-24 13:53:19 +00:00
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "Menubar.h"
|
2001-03-07 16:18:05 +00:00
|
|
|
#include "MenuBackend.h"
|
2000-07-24 13:53:19 +00:00
|
|
|
#include "Menubar_pimpl.h"
|
|
|
|
|
2000-08-24 23:10:28 +00:00
|
|
|
Menubar::Menubar(LyXView * o, MenuBackend const & md)
|
2000-07-24 13:53:19 +00:00
|
|
|
{
|
|
|
|
pimpl_ = new Pimpl(o, md);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Menubar::~Menubar()
|
|
|
|
{
|
|
|
|
delete pimpl_;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Menubar::openByName(string const & name)
|
|
|
|
{
|
|
|
|
pimpl_->openByName(name);
|
|
|
|
}
|
2000-08-09 13:51:59 +00:00
|
|
|
|
2000-08-24 23:10:28 +00:00
|
|
|
|
2000-08-09 13:51:59 +00:00
|
|
|
void Menubar::update()
|
|
|
|
{
|
|
|
|
pimpl_->update();
|
|
|
|
}
|