2
// C++ Interface: kmfpfcompiler
7
// Author: Christian Hubinger <e9806056@student.tuwien.ac.at>, (C) 2004
9
// Copyright: See COPYING file that comes with this distribution
12
#ifndef KMFPFCOMPILER_H
13
#define KMFPFCOMPILER_H
15
#include "../../interfaces/kmfcompilerinterface.h"
18
@author Christian Hubinger
26
#include <kparts/part.h>
27
#include <kparts/plugin.h>
28
#include <kparts/factory.h>
37
#include "../../interfaces/kmfplugin.h"
38
#include "../../interfaces/kmfcompilerinterface.h"
41
class KMFPFCompiler : public KMFPlugin, public virtual KMFCompilerInterface {
44
KMFPFCompiler( QObject* parent, const char* name );
47
const QString& compile( KMFGenericDoc* );
48
const QString& osName();
49
const QString& osGUIName();
50
const QString& backendName();
51
const QString& backendGUIName();
57
QString m_backendName;
58
QString m_backendGUIName;
61
void slotShowPFScript();
69
class KMFPFCompilerFactory : public KLibFactory {
72
KMFPFCompilerFactory( QObject *parent = 0, const char *name = 0 );
73
virtual ~KMFPFCompilerFactory() {
74
/* delete s_instance; */
76
virtual QObject* createObject( QObject* parent = 0, const char* pname = 0,
77
const char* name = "QObject",
78
const QStringList &args = QStringList() );
79
/* static KInstance* instance(); */
82
static KInstance* s_instance;*/