X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fimporter.h;h=f00be23d410f77a77f92ca7d25dc3051b164db5b;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=a505e44f4a47af5117e2d05cc20ed2cd35d9ca8f;hpb=8aff605caefaba655e48bc629ed344bb74bcd61a;p=lyx.git diff --git a/src/importer.h b/src/importer.h index a505e44f4a..f00be23d41 100644 --- a/src/importer.h +++ b/src/importer.h @@ -1,32 +1,34 @@ // -*- C++ -*- -/* This file is part of - * ====================================================== - * - * LyX, The Document Processor - * - * Copyright 1995 Matthias Ettrich - * Copyright 1995-2000 The LyX Team. +/** + * \file importer.h + * Copyright 1995-2002 the LyX Team + * Read the file COPYING * - * ====================================================== */ + * \author unknown + */ #ifndef IMPORTER_H #define IMPORTER_H -#ifdef __GNUG__ -#pragma interface -#endif - +#include #include "LString.h" class LyXView; +class Format; class Importer { public: /// static - void Import(LyXView * lv, string const & filename, + bool Import(LyXView * lv, string const & filename, string const & format); + + /// + static + std::vector const GetImportableFormats(); +private: + /// static - bool IsImportable(string const & format); + std::vector const Loaders(); }; #endif