X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fimporter.h;h=7d62799cabd20e6034281f3c9069b3bdd7d1f55c;hb=6c2e78e12855d8661eb289ded3dc8722748863b8;hp=089e6336b8aad4104f466e9a1feaf714b6bce912;hpb=83acbbd5237373926c629855379e1df9a04209b2;p=lyx.git diff --git a/src/importer.h b/src/importer.h index 089e6336b8..7d62799cab 100644 --- a/src/importer.h +++ b/src/importer.h @@ -1,23 +1,22 @@ // -*- C++ -*- -/* This file is part of - * ====================================================== - * - * LyX, The Document Processor - * - * Copyright 1995 Matthias Ettrich - * Copyright 1995-2001 The LyX Team. +/** + * \file importer.h + * 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" + class LyXView; class Format; @@ -26,19 +25,15 @@ class Importer { public: /// static - bool Import(LyXView * lv, string const & filename, - string const & format); -#if 0 - /// - static - bool IsImportable(string const & format); -#endif + bool Import(LyXView * lv, std::string const & filename, + std::string const & format); + /// static std::vector const GetImportableFormats(); private: /// static - std::vector const Loaders(); + std::vector const Loaders(); }; #endif