Consider the case where there is not any layout name.
[lyx.git] / src / importer.h
blob7d62799cabd20e6034281f3c9069b3bdd7d1f55c
1 // -*- C++ -*-
2 /**
3 * \file importer.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author unknown
8 * \author Jean-Marc Lasgouttes
9 * \author John Levon
11 * Full author contact details are available in file CREDITS.
14 #ifndef IMPORTER_H
15 #define IMPORTER_H
17 #include <string>
18 #include <vector>
21 class LyXView;
22 class Format;
24 class Importer {
25 public:
26 ///
27 static
28 bool Import(LyXView * lv, std::string const & filename,
29 std::string const & format);
31 ///
32 static
33 std::vector<Format const *> const GetImportableFormats();
34 private:
35 ///
36 static
37 std::vector<std::string> const Loaders();
39 #endif