summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmpovray31format.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmpovray31format.h')
-rw-r--r--kpovmodeler/pmpovray31format.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/kpovmodeler/pmpovray31format.h b/kpovmodeler/pmpovray31format.h
new file mode 100644
index 00000000..a0e3453e
--- /dev/null
+++ b/kpovmodeler/pmpovray31format.h
@@ -0,0 +1,64 @@
+/*
+**************************************************************************
+ description
+ --------------------
+ copyright : (C) 2003 by Andreas Zehender
+ email : zehender@kde.org
+**************************************************************************
+
+**************************************************************************
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the GNU General Public License as published by *
+* the Free Software Foundation; either version 2 of the License, or *
+* (at your option) any later version. *
+* *
+**************************************************************************/
+
+#ifndef PMPOVRAY31_FORMAT_H
+#define PMPOVRAY31_FORMAT_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "pmpovrayformat.h"
+
+/**
+ * Description class for POV-Ray 3.1
+ */
+class PMPovray31Format : public PMPovrayFormat
+{
+public:
+ /**
+ * Default constructor
+ */
+ PMPovray31Format( );
+ /**
+ * Destructor
+ */
+ virtual ~PMPovray31Format( );
+
+ /** */
+ virtual QString name( ) const { return "povray31"; };
+ /** */
+ virtual QString description( ) const { return "POV-Ray 3.1"; }
+ /** */
+ virtual int services( ) const { return AllServices; }
+ /** */
+ virtual PMParser* newParser( PMPart*, QIODevice* ) const;
+ /** */
+ virtual PMParser* newParser( PMPart*, const QByteArray& ) const;
+ /** */
+ virtual PMSerializer* newSerializer( QIODevice* );
+ /** */
+ virtual PMRenderer* newRenderer( PMPart* ) const;
+ /** */
+ virtual QString mimeType( ) const;
+ /** */
+ virtual QStringList importPatterns( ) const;
+ /** */
+ virtual QStringList exportPatterns( ) const;
+};
+
+#endif