Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
/home/iurt/rpm/BUILD/canorus-0.7.R1002/src/export/svgexport.h
Go to the documentation of this file.
00001 
00008 #ifndef SVGEXPORT_H_
00009 #define SVGEXPORT_H_
00010 
00011 // Includes
00012 #include "export/export.h"
00013 
00014 // Forward declarations
00015 class CATypesetCtl;
00016 
00017 // SVG Export class doing lilypond export internally
00018 // !! exportDocument does not support threading !!
00019 class CASVGExport : public CAExport {
00020 #ifndef SWIG
00021         Q_OBJECT
00022 #endif
00023 
00024 public:
00025         CASVGExport( QTextStream *stream=0 );
00026         ~CASVGExport();
00027 
00028         QString getTempFilePath();
00029 
00030 #ifndef SWIG
00031 signals:
00032         void svgIsFinished( int iExitCode );
00033 
00034 protected slots:
00035         void outputTypsetterOutput( const QByteArray &roOutput );
00036         void svgFinished( int iExitCode );
00037 
00038 private:
00039         void startExport();
00040         void finishExport();
00041         void exportDocumentImpl(CADocument *doc);
00042 
00043 protected:
00044         CATypesetCtl *_poTypesetCtl;
00045 #endif
00046 };
00047 
00048 #endif // SVGEXPORT_H_
00049