blob: 8cf6d56eeb88ebc56f4b76b7234d8e702235f023 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
//
// C++ Interface: kmfpluginfactory
//
// Description:
//
//
// Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2004
//
// Copyright: See COPYING file that comes with this distribution
// License: GPL
//
#ifndef KMFPLUGINFACTORY_H
#define KMFPLUGINFACTORY_H
/**
@author Christian Hubinger
*/
// TQt includes
#include <tqstring.h>
#include <tqptrlist.h>
#include <tqvaluelist.h>
// KDE includes
// #include <tdeparts>
#include <tdeparts/part.h>
#include <tdeparts/mainwindow.h>
class TQObject;
namespace KMF {
class KMFTarget;
class KMFError;
class KMFCompilerInterface;
class KMFInstallerInterface;
class KMFRuleOptionEditInterface;
class KMFRuleTargetOptionEditInterface;
class KDE_EXPORT KMFPluginFactory {
friend class KMFTarget;
private:
KMFPluginFactory();
~KMFPluginFactory();
public:
static TQPtrList<KMFRuleOptionEditInterface>* KMFRuleOptionEditors( TQObject *parent );
static TQPtrList<KMFRuleTargetOptionEditInterface>* KMFRuleTargetOptionEditors( TQObject *parent );
static TQValueList<KMFCompilerInterface*>* CompilersForInstaller( const TQString& osName );
static KParts::ReadWritePart* KMFMainView( KParts::MainWindow* parent, KMFError* err );
private:
static KMFCompilerInterface* KMFCompiler( KMFTarget* );
static KMFInstallerInterface* KMFInstaller( KMFTarget* );
};
}
#endif
|