X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fimporter.h;h=634059d5f0bc717dbaad01c7fc198e8d1c93cdfa;hb=e5a46922e916a06ad1b958d5895cc3cfb4f13d2c;hp=0cd3e67fbd6d63619f0c3fbf8a34e154bd58f300;hpb=50a25e9a76d753f5229b4fca1076e242a99af467;p=lyx.git diff --git a/src/importer.h b/src/importer.h index 0cd3e67fbd..634059d5f0 100644 --- a/src/importer.h +++ b/src/importer.h @@ -1,38 +1,44 @@ // -*- C++ -*- /** * \file importer.h - * Copyright 1995-2002 the LyX Team - * Read the file COPYING + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * * \author unknown + * \author Jean-Marc Lasgouttes + * \author John Levon + * + * Full author contact details are available in file CREDITS. */ #ifndef IMPORTER_H #define IMPORTER_H -#ifdef __GNUG__ -#pragma interface -#endif - +#include #include -#include "LString.h" + + +namespace lyx { + +namespace support { class FileName; } class LyXView; +class ErrorList; class Format; class Importer { public: /// - static - bool Import(LyXView * lv, string const & filename, - string const & format); + static bool Import(LyXView * lv, support::FileName const & filename, + std::string const & format, ErrorList & errorList); /// - static - std::vector const GetImportableFormats(); + static std::vector const GetImportableFormats(); private: /// - static - std::vector const Loaders(); + static std::vector const Loaders(); }; + +} // namespace lyx + #endif