diff -r d1dadafc5584 -r 26079c1bb561 taskswitcher/server/inc/tsservice.h --- a/taskswitcher/server/inc/tsservice.h Mon Sep 27 11:31:59 2010 +0300 +++ b/taskswitcher/server/inc/tsservice.h Wed Oct 06 16:00:22 2010 +0300 @@ -24,13 +24,14 @@ class QObject; class TsAbstractModel; +class MTsResourceManager; class CTsService: public CBase, public MTsModel, public MTsDataObserver { public: - static CTsService* NewLC( QObject* model ); + static CTsService* NewLC( MTsResourceManager& aResources, QObject* model ); ~CTsService(); public: //from MTsDataObserver @@ -54,7 +55,7 @@ private: CTsService(); - void ConstructL( QObject* aModel ); + void ConstructL( MTsResourceManager& aResources, QObject* aModel ); TInt IntValueL( TInt aOffset, const char* aKey ) const; TTime TimeValueL( TInt aOffset, const char* aKey ) const; const TDesC& StringValueL( TInt aOffset, const char* aKey ) const;