/*********************************************************************************
* C++ Interface: childconnection.h
* Description:
*
* Begin : ons maj 7 2003
* Author : Björn Sahlström <kbjorn@users.sourceforge.net> (C) 2003
* Copyright : See COPYING file that comes with this distribution
**********************************************************************************/

#ifndef KBEARCHILDCONNECTION_H
#define KBEARCHILDCONNECTION_H

//////////////////////////////////////////////////////////////////////
// Qt specific include files
//////////////////////////////////////////////////////////////////////
// KDE specific include files
//////////////////////////////////////////////////////////////////////
// System specific include files
//////////////////////////////////////////////////////////////////////
// Application specific include files
#include "connectioninterface.h"

namespace KBear {
	class TopLevelConnectionInterface;

	/**
	@author Björn Sahlström
	*/
	class ChildConnection : virtual public ConnectionInterface {
			Q_OBJECT
		public:
			/** */
			ChildConnection( TopLevelConnectionInterface* parent, const SiteInfo& info );
			/** */
			virtual ~ChildConnection();
			/**
			* Call this to close the connection
			*/
			virtual void closeConnection( bool force = false );
		protected:
			TopLevelConnectionInterface* m_parentConnection;
	};

};

#endif
