mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
ea878552c4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6341 a592a061-630c-0410-9148-cb99ea01b6c8
42 lines
885 B
C++
42 lines
885 B
C++
// -*- C++ -*-
|
|
|
|
/**
|
|
* \file command_inset.h
|
|
*
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author André Pönitz
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
|
|
#ifndef COMMAND_INSET_H
|
|
#define COMMAND_INSET_H
|
|
|
|
#include "button_inset.h"
|
|
|
|
/// Inset for things like \name[options]{contents}
|
|
class CommandInset : public ButtonInset {
|
|
public:
|
|
///
|
|
explicit CommandInset(string const & name);
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void write(WriteStream & os) const;
|
|
///
|
|
//void infoize(std::ostream & os) const;
|
|
///
|
|
dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
|
|
///
|
|
string screenLabel() const;
|
|
/// generate something that will be understodd by the Dialogs.
|
|
string const createDialogStr(string const & name) const;
|
|
public:
|
|
string name_;
|
|
};
|
|
|
|
#endif
|