X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fexporter.h;h=12ccebd4da664501533eade75c31bd6140177c64;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=26e1a5dad07ae815507ac9b8db949af71ecfcc56;hpb=41d36cfe2b06da08074f3793a3e427ccc6fcd83a;p=lyx.git diff --git a/src/exporter.h b/src/exporter.h index 26e1a5dad0..12ccebd4da 100644 --- a/src/exporter.h +++ b/src/exporter.h @@ -1,49 +1,43 @@ // -*- 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 #include "LString.h" class Buffer; +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 Preview(Buffer * buffer, string const & format); + bool Export(Buffer * buffer, string const & format, + bool put_in_tempdir); /// static - bool IsExportable(Buffer const * buffer, string const & format); + bool Preview(Buffer * buffer, string const & format); /// static - std::vector > const - GetExportableFormats(Buffer const * buffer); + bool IsExportable(Buffer const * buffer, string const & format); /// static - std::vector > const - GetViewableFormats(Buffer const * buffer); + std::vector const + GetExportableFormats(Buffer const * buffer, bool only_viewable); /// - static - string const BufferExtension(Buffer const * buffer); }; #endif