diff -r d1dadafc5584 -r 26079c1bb561 taskswitcher/utils/inc/tsresourcemanager.h --- a/taskswitcher/utils/inc/tsresourcemanager.h Mon Sep 27 11:31:59 2010 +0300 +++ b/taskswitcher/utils/inc/tsresourcemanager.h Wed Oct 06 16:00:22 2010 +0300 @@ -17,16 +17,15 @@ #ifndef TSRESOURCEMANAGER_H #define TSRESOURCEMANAGER_H -#include -#include -#include -#include +class RApaLsSession; +class RWsSession; +class MTsWindowGroupsMonitor; /** - * Interface decalre methods to access initialized OS resources + * Interface declare methods to access initialized OS resources */ class MTsResourceManager -{ + { public: /** * Access to initialized window server session @@ -37,46 +36,10 @@ * Access to initilaized APA session */ virtual RApaLsSession& ApaSession() =0; -}; - -/** - * Resource manager implemetatioin - */ -class CTsResourceManager: public CBase, - public MTsResourceManager -{ -public: - /** - * Two phase constructor - */ - static CTsResourceManager* NewL(); - - /** - * Destructor - */ - ~CTsResourceManager(); /** - * @see MTsResourceManager::WsSession - */ - RWsSession& WsSession(); - - /** - * @see MTsResourceManager::ApaSession + * Access to window groups monitor */ - RApaLsSession& ApaSession(); - -private: - /** - * Second phase constructor - */ - void ConstructL(); - -private: - RWsSession mWsSession; - RApaLsSession mApaSeesion; -}; - - - + virtual MTsWindowGroupsMonitor& WsMonitor() =0; + }; #endif // TSRESOURCEMANAGER_H