/*
    nowlisteningguiclient.h

    Kopete Now Listening To plugin

    Copyright (c) 2005           by Tommi Rantala <tommi.rantala@cs.helsinki.fi>
    Copyright (c) 2002,2003,2004 by Will Stephenson <will@stevello.free-online.co.uk>

    Kopete    (c) 2002-2005      by the Kopete developers  <kopete-devel@kde.org>

    *************************************************************************
    *                                                                       *
    * This program is free software; you can redistribute it and/or modify  *
    * it under the terms of the GNU General Public License as published by  *
    * the Free Software Foundation; either version 2 of the License, or     *
    * (at your option) any later version.                                   *
    *                                                                       *
    *************************************************************************
*/

#ifndef NOWLISTENINGGUICLIENT_H
#define NOWLISTENINGGUICLIENT_H

#include <tqobject.h>
#include <kxmlguiclient.h>

class TDEAction;
class NowListeningPlugin;

namespace Kopete {
	class ChatSession;
}

class NowListeningGUIClient : public TQObject, public KXMLGUIClient
{
	TQ_OBJECT
  

public:
	NowListeningGUIClient( Kopete::ChatSession* parent, NowListeningPlugin* plugin );
	virtual ~NowListeningGUIClient() {}

protected slots:
	void slotAdvertToCurrentChat();
	void slotPluginUnloaded();

private:
	Kopete::ChatSession* m_msgManager;
	TDEAction* m_action;
};

#endif
