2000-10-23 12:16:05 +00:00
|
|
|
// -*- C++ -*-
|
2002-05-30 03:37:24 +00:00
|
|
|
/**
|
|
|
|
* \file importer.h
|
|
|
|
* Copyright 1995-2002 the LyX Team
|
|
|
|
* Read the file COPYING
|
2002-03-21 17:27:08 +00:00
|
|
|
*
|
2002-05-30 03:37:24 +00:00
|
|
|
* \author unknown
|
|
|
|
*/
|
2000-10-23 12:16:05 +00:00
|
|
|
|
|
|
|
#ifndef IMPORTER_H
|
|
|
|
#define IMPORTER_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
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
|