]> git.lyx.org Git - lyx.git/blobdiff - src/exporter.h
remove some very old dead code
[lyx.git] / src / exporter.h
index f8c9ac7d45eb49b76fd2e1abc4287b2ab5b82200..f02e8472a00df54c53e2c2b3677fb38cce803de4 100644 (file)
@@ -1,33 +1,33 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *        
+ *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
 #ifndef EXPORTER_H
 #define EXPORTER_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include <vector>
 #include "LString.h"
 
 class Buffer;
-class FormatPair;
+class Format;
 
 class Exporter {
 public:
        ///
        static
        bool Export(Buffer * buffer, string const & format,
-                   bool put_in_tempdir, string * view_file = 0);
+                   bool put_in_tempdir, string & result_file);
+       ///
+       static
+       bool Export(Buffer * buffer, string const & format,
+                   bool put_in_tempdir);
        ///
        static
        bool Preview(Buffer * buffer, string const & format);
@@ -36,14 +36,14 @@ public:
        bool IsExportable(Buffer const * buffer, string const & format);
        ///
        static
-       std::vector<FormatPair> const
-       GetExportableFormats(Buffer const * buffer);
+       std::vector<Format const *> const
+       GetExportableFormats(Buffer const * buffer, bool only_viewable);
        ///
+private:
        static
-       std::vector<FormatPair> const
-       GetViewableFormats(Buffer const * buffer);
+       string const BufferFormat(Buffer const * buffer);
        ///
        static
-       string const BufferExtension(Buffer const * buffer);
+       std::vector<string> const Backends(Buffer const * buffer);
 };
 #endif