mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
83acbbd523
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
52 lines
816 B
C
52 lines
816 B
C
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2001 The LyX Team.
|
|
*
|
|
* This file is Copyright 2000 Jean-Marc Lasgouttes
|
|
*
|
|
* ====================================================== */
|
|
|
|
|
|
#include <config.h>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "Menubar.h"
|
|
#include "MenuBackend.h"
|
|
#include "Menubar_pimpl.h"
|
|
|
|
Menubar::Menubar(LyXView * o, MenuBackend const & md)
|
|
{
|
|
pimpl_ = new Pimpl(o, md);
|
|
}
|
|
|
|
|
|
Menubar::~Menubar()
|
|
{
|
|
delete pimpl_;
|
|
}
|
|
|
|
|
|
void Menubar::set(string const & name)
|
|
{
|
|
pimpl_->set(name);
|
|
}
|
|
|
|
|
|
void Menubar::openByName(string const & name)
|
|
{
|
|
pimpl_->openByName(name);
|
|
}
|
|
|
|
|
|
void Menubar::update()
|
|
{
|
|
pimpl_->update();
|
|
}
|