summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/core/kmfplugin.h
blob: 1ab7f5b91de6da21acffbbc67edad5e2240670db (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
//
// C++ Interface: kmfplugin
//
// Description: 
//
//
// Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2003
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef KMFPLUGIN_H
#define KMFPLUGIN_H

// TQt includes
class TQWidget;

#include <tqobject.h>

// KDE includes
#include <tdeparts/plugin.h>

// Project includes

namespace KMF {

class KMFNetwork;
class KMFRulesetDoc;
class KMFGenericDoc;
class KMFIPTDoc;
class KMFDoc;
class KMFError;

/**
@author Christian Hubinger
*/

class KDE_EXPORT KMFPlugin : public KParts::Plugin {
public:
	KMFPlugin( TQObject* parent , const char* name  );
    virtual ~KMFPlugin();
	void setOutputWidget( TQWidget* wid );
	void showEditor();
	void showOutput();
	void checkStatus();

protected:
	KMFRulesetDoc* rulesetDoc();
	KMFGenericDoc* genericDoc();
	KMFIPTDoc* iptablesDoc();
	KMFNetwork* network();
	KMFDoc* doc();
	KMFError* m_err;
};
}
#endif