#include <vector>
#include "insetcommand.h"
+#include "support/filename.h"
+
+
+namespace lyx {
+
/** Used to insert BibTeX's information
*/
class InsetBibtex : public InsetCommand {
///
InsetBibtex(InsetCommandParams const &);
///
- std::string const getScreenLabel(Buffer const &) const;
+ docstring const getScreenLabel(Buffer const &) const;
///
EDITABLE editable() const { return IS_EDITABLE; }
///
///
bool display() const { return true; }
///
- int latex(Buffer const &, std::ostream &,
- OutputParams const &) const;
+ int latex(Buffer const &, odocstream &, OutputParams const &) const;
///
void fillWithBibKeys(Buffer const & buffer,
- std::vector<std::pair<std::string,std::string> > & keys) const;
+ std::vector<std::pair<std::string, docstring> > & keys) const;
///
- std::vector<std::string> const getFiles(Buffer const &) const;
+ std::vector<support::FileName> const getFiles(Buffer const &) const;
///
bool addDatabase(std::string const &);
///
};
+
+} // namespace lyx
+
#endif // INSET_BIBTEX_H