1 /***************************************************************************
2 autoreplaceplugin.h - description
5 copyright : (C) 2003 by Roberto Pariset
6 email : victorheremita@fastwebnet.it
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
18 #ifndef AutoReplacePLUGIN_H
19 #define AutoReplacePLUGIN_H
26 #include "kopetemessage.h"
27 #include "kopeteplugin.h"
33 class SimpleMessageHandlerFactory
;
35 class AutoReplaceConfig
;
37 class AutoReplacePlugin
: public Kopete::Plugin
42 static AutoReplacePlugin
*plugin();
44 AutoReplacePlugin( QObject
*parent
, const QVariantList
&args
);
48 void slotInterceptMessage( Kopete::Message
&msg
);
50 void slotSettingsChanged();
53 static AutoReplacePlugin
* pluginStatic_
;
55 AutoReplaceConfig
*m_prefs
;
57 Kopete::SimpleMessageHandlerFactory
* mInboundHandler
;
62 // vim: set noet ts=4 sts=4 sw=4: