// -*- 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
#pragma interface
#endif
+#include <vector>
#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<Format const *> const GetImportableFormats();
+private:
+ ///
static
- bool IsImportable(string const & format);
+ std::vector<string> const Loaders();
};
#endif