2002-09-05 14:10:50 +00:00
|
|
|
/**
|
|
|
|
* \file Menubar.C
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in 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>
|
|
|
|
|
|
|
|
|
|
|
|
#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();
|
|
|
|
}
|