// -*- 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 <config.h>
///
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;
string contents;
///
string options;
+ ///
+ bool preview_;
};