X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fimporter.h;h=8791434719be801193b88ef3f47626b0d1a955cb;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=8bcfd08140681864ca68b25d76592397e6b93bf5;hpb=8283e978f8d621041c432b9b88a476bfd567385c;p=lyx.git diff --git a/src/importer.h b/src/importer.h index 8bcfd08140..8791434719 100644 --- a/src/importer.h +++ b/src/importer.h @@ -1,44 +1,42 @@ // -*- C++ -*- -/* This file is part of - * ====================================================== +/** + * \file importer.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * LyX, The Document Processor + * \author unknown + * \author Jean-Marc Lasgouttes + * \author John Levon * - * Copyright 1995 Matthias Ettrich - * Copyright 1995-2001 The LyX Team. - * - * ====================================================== */ + * 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 { class LyXView; +class ErrorList; class Format; class Importer { public: /// - static - bool Import(LyXView * lv, string const & filename, - string const & format); -#if 0 - /// - static - bool IsImportable(string const & format); -#endif + static bool Import(LyXView * lv, std::string 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