X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetcommandparams.h;h=ac10b0e97ecf76e805ab769403948745d2f27465;hb=62be565337f08855dbbbeea9d90db2ce497d4c10;hp=b6c3b75dedf04973b897765b06ce1b0485c2afdd;hpb=de236c41d824990bbf5ea18dd391d113442ffe53;p=lyx.git diff --git a/src/insets/insetcommandparams.h b/src/insets/insetcommandparams.h index b6c3b75ded..ac10b0e97e 100644 --- a/src/insets/insetcommandparams.h +++ b/src/insets/insetcommandparams.h @@ -1,19 +1,17 @@ // -*- C++ -*- -/* This file is part of* - * ====================================================== +/** + * \file insetcommandparams.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * LyX, The Document Processor + * \author Angus Leeming * - * Copyright 2002-2001 The LyX Team. - * - * ====================================================== */ + * Full author contact details are available in file CREDITS + */ #ifndef INSETCOMMANDPARAMS_H #define INSETCOMMANDPARAMS_H -#ifdef __GNUG__ -#pragma interface -#endif #include @@ -53,9 +51,10 @@ public: /// void setContents(string const & c) { contents = c; } /// - string const getAsString() const; + bool preview() const { return preview_; } /// - void setFromString(string const &); + void preview(bool p) { preview_ = p; } + private: /// string cmdname; @@ -63,6 +62,8 @@ private: string contents; /// string options; + /// + bool preview_; };