*
*======================================================*/
-#ifndef _INSET_INCLUDE_H
-#define _INSET_INCLUDE_H
+#ifndef INSET_INCLUDE_H
+#define INSET_INCLUDE_H
#ifdef __GNUG__
#pragma interface
#include "insetcommand.h"
#include "buffer.h"
-#include "filetools.h"
+#include "support/filetools.h"
struct LaTeXFeatures;
flag = InsetInclude::INCLUDE;
}
///
- InsetInclude(LString const &, Buffer*);
+ InsetInclude(string const &, Buffer*);
///
~InsetInclude();
///
/// This is 1 if the childs have labels, 0 otherwise
int GetNumberOfLabels() const;
/// This returns the list of labels on the child buffer
- LString getLabel(int) const;
+ string getLabel(int) const;
/// This returns the list of bibkeys on the child buffer
- LString getKeys() const;
+ string getKeys() const;
///
void Edit(int, int);
///
///
int Latex(FILE *file, signed char fragile);
///
- int Latex(LString &file, signed char fragile);
+ int Latex(string &file, signed char fragile);
///
void Validate(LaTeXFeatures &) const;
/// Input inserts anything inside a paragraph, Display can give some visual feedback
bool Display() const { return !(isInput()); }
///
- LString getScreenLabel() const;
+ string getScreenLabel() const;
///
- void setContents(LString const & c) {
+ void setContents(string const & c) {
InsetCommand::setContents(c);
filename = MakeAbsPath(contents,
OnlyPath(getMasterFilename()));
}
///
- void setFilename(LString const & n) { setContents(n); }
+ void setFilename(string const & n) { setContents(n); }
///
- LString getMasterFilename() const { return master->getFileName(); }
+ string getMasterFilename() const { return master->getFileName(); }
///
- LString getFileName() const {
+ string getFileName() const {
return filename;
}
/// In "input" mode uses \input instead of \include.
///
Buffer *master;
///
- LString filename;
+ string filename;
};