mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
ed99f752f9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16133 a592a061-630c-0410-9148-cb99ea01b6c8
45 lines
796 B
C++
45 lines
796 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \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
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
|
|
namespace lyx {
|
|
|
|
namespace support { class FileName; }
|
|
|
|
class LyXView;
|
|
class ErrorList;
|
|
class Format;
|
|
|
|
class Importer {
|
|
public:
|
|
///
|
|
static bool Import(LyXView * lv, support::FileName const & filename,
|
|
std::string const & format, ErrorList & errorList);
|
|
|
|
///
|
|
static std::vector<Format const *> const GetImportableFormats();
|
|
private:
|
|
///
|
|
static std::vector<std::string> const Loaders();
|
|
};
|
|
|
|
} // namespace lyx
|
|
|
|
#endif
|