2000-10-23 12:16:05 +00:00
|
|
|
// -*- C++ -*-
|
2002-05-30 03:37:24 +00:00
|
|
|
/**
|
|
|
|
* \file importer.h
|
2003-08-23 00:17:00 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-03-21 17:27:08 +00:00
|
|
|
*
|
2002-05-30 03:37:24 +00:00
|
|
|
* \author unknown
|
2003-08-23 00:17:00 +00:00
|
|
|
* \author Jean-Marc Lasgouttes
|
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2002-05-30 03:37:24 +00:00
|
|
|
*/
|
2000-10-23 12:16:05 +00:00
|
|
|
|
|
|
|
#ifndef IMPORTER_H
|
|
|
|
#define IMPORTER_H
|
|
|
|
|
2000-11-13 10:35:02 +00:00
|
|
|
#include <vector>
|
2000-10-23 12:16:05 +00:00
|
|
|
#include "LString.h"
|
|
|
|
|
|
|
|
class LyXView;
|
2000-11-13 10:35:02 +00:00
|
|
|
class Format;
|
2000-10-23 12:16:05 +00:00
|
|
|
|
|
|
|
class Importer {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
static
|
2002-03-21 17:27:08 +00:00
|
|
|
bool Import(LyXView * lv, string const & filename,
|
2000-10-23 12:16:05 +00:00
|
|
|
string const & format);
|
2002-05-30 03:37:24 +00:00
|
|
|
|
2000-11-13 10:35:02 +00:00
|
|
|
///
|
|
|
|
static
|
|
|
|
std::vector<Format const *> const GetImportableFormats();
|
|
|
|
private:
|
|
|
|
///
|
|
|
|
static
|
|
|
|
std::vector<string> const Loaders();
|
2000-10-23 12:16:05 +00:00
|
|
|
};
|
|
|
|
#endif
|