20 #ifndef _KATE_PLUGIN_INCLUDE_
21 #define _KATE_PLUGIN_INCLUDE_
25 #include <kicontheme.h>
35 class TDE_EXPORT Plugin :
public TQObject
37 friend class PrivatePlugin;
42 Plugin (Application *
application = 0,
const char *name = 0 );
45 unsigned int pluginNumber ()
const;
50 class PrivatePlugin *d;
51 static unsigned int globalPluginNumber;
52 unsigned int myPluginNumber;
55 TDE_EXPORT Plugin *createPlugin (
const char* libname, Application *
application = 0,
const char *name = 0,
const TQStringList &args = TQStringList() );
61 class TDE_EXPORT PluginViewInterface
63 friend class PrivatePluginViewInterface;
66 PluginViewInterface ();
67 virtual ~PluginViewInterface ();
69 unsigned int pluginViewInterfaceNumber ()
const;
74 virtual void addView (MainWindow *) = 0;
75 virtual void removeView (MainWindow *) = 0;
78 class PrivatePluginViewInterface *d;
79 static unsigned int globalPluginViewInterfaceNumber;
80 unsigned int myPluginViewInterfaceNumber;
83 TDE_EXPORT PluginViewInterface *pluginViewInterface (Plugin *plugin);
Namespace collecting as much of the internal Kate classes as we can manage.
Application * application()
Returns the application object.