// -*- C++ -*-
/* This file is part of*
- * ======================================================
+ * ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-1999 the LyX Team.
*
- * ======================================================*/
+ * ====================================================== */
#ifndef INSET_INFO_H
#define INSET_INFO_H
in a yellow box. Currently, the Read-function is a terrible hack.
Some day in the distant future, this will hopefully be obsoleted by
a true comment-environment. */
-class InsetInfo: public Inset {
+class InsetInfo : public Inset {
public:
///
InsetInfo();
///
void Draw(LyXFont font, LyXScreen & scr, int baseline, float & x);
///
- void Write(FILE * file);
+ void Write(ostream &);
///
void Read(LyXLex & lex);
///
- int Latex(FILE * file, signed char fragile);
+ int Latex(ostream &, signed char fragile);
///
int Latex(string & file, signed char fragile);
///
///
int DocBook(string & file);
/// what appears in the minibuffer when opening
- char const * EditMessage() {return "Opened note";}
+ char const * EditMessage() const {return _("Opened note");}
///
void Edit(int, int);
///
///
Inset::Code LyxCode() const;
///
- Inset * Clone();
+ Inset * Clone() const;
///
static void CloseInfoCB(FL_OBJECT *, long data);
private: