mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 23:51:25 +00:00
47 lines
760 B
C++
47 lines
760 B
C++
|
/* This file is part of
|
||
|
* ======================================================
|
||
|
*
|
||
|
* LyX, The Document Processor
|
||
|
*
|
||
|
* Copyright 1995 Matthias Ettrich
|
||
|
* Copyright 1995-2000 The LyX Team.
|
||
|
*
|
||
|
* This file is Copyright 2000 Jean-Marc Lasgouttes
|
||
|
*
|
||
|
* ====================================================== */
|
||
|
|
||
|
|
||
|
#include <config.h>
|
||
|
|
||
|
#ifdef __GNUG__
|
||
|
#pragma implementation
|
||
|
#endif
|
||
|
|
||
|
#include "Menubar.h"
|
||
|
#include "Menubar_pimpl.h"
|
||
|
|
||
|
using std::endl;
|
||
|
|
||
|
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);
|
||
|
}
|