kivioconnectortool/plugin.h
1/*
2 * Kivio - Visual Modelling and Flowcharting
3 * Copyright (C) 2000-2001 theKompany.com & Dave Marotti
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19#ifndef CONNECTOR_PLUGIN_H
20#define CONNECTOR_PLUGIN_H
21
22#include <tqstringlist.h>
23#include <tqobject.h>
24
25#include <klibloader.h>
26
27class TDEInstance;
28
29class ConnectorToolFactory : public KLibFactory
30{ TQ_OBJECT
31
32public:
33 ConnectorToolFactory( TQObject* parent = 0, const char* name = 0 );
34 ~ConnectorToolFactory();
35
36 virtual TQObject* createObject( TQObject* parent = 0, const char* name = 0,
37 const char* classname = "TQObject", const TQStringList &args = TQStringList() );
38
39 static TDEInstance* global();
40
41private:
42 static TDEInstance* s_global;
43};
44
45#endif