]> git.lyx.org Git - lyx.git/blobdiff - src/exporter.h
more cursor dispatch
[lyx.git] / src / exporter.h
index f02e8472a00df54c53e2c2b3677fb38cce803de4..826ce82addbed93bbc99ccca5073a310ed37a58a 100644 (file)
@@ -1,19 +1,21 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file exporter.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
  *
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
- *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS.
+ */
 
 #ifndef EXPORTER_H
 #define EXPORTER_H
 
+#include <string>
 #include <vector>
-#include "LString.h"
+
 
 class Buffer;
 class Format;
@@ -22,28 +24,22 @@ class Exporter {
 public:
        ///
        static
-       bool Export(Buffer * buffer, string const & format,
-                   bool put_in_tempdir, string & result_file);
+       bool Export(Buffer * buffer, std::string const & format,
+                   bool put_in_tempdir, std::string & result_file);
        ///
        static
-       bool Export(Buffer * buffer, string const & format,
+       bool Export(Buffer * buffer, std::string const & format,
                    bool put_in_tempdir);
        ///
        static
-       bool Preview(Buffer * buffer, string const & format);
+       bool Preview(Buffer * buffer, std::string const & format);
        ///
        static
-       bool IsExportable(Buffer const * buffer, string const & format);
+       bool IsExportable(Buffer const & buffer, std::string const & format);
        ///
        static
        std::vector<Format const *> const
-       GetExportableFormats(Buffer const * buffer, bool only_viewable);
+       GetExportableFormats(Buffer const & buffer, bool only_viewable);
        ///
-private:
-       static
-       string const BufferFormat(Buffer const * buffer);
-       ///
-       static
-       std::vector<string> const Backends(Buffer const * buffer);
 };
 #endif