diff -r a3a1ae9acec6 -r da5135c61bad meetingrequest/mrgui/inc/cesmrtrackingviewdialog.h --- a/meetingrequest/mrgui/inc/cesmrtrackingviewdialog.h Mon Mar 15 12:39:10 2010 +0200 +++ b/meetingrequest/mrgui/inc/cesmrtrackingviewdialog.h Wed Mar 31 21:08:33 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -12,31 +12,30 @@ * Contributors: * * Description : ESMR tracking viewe dialog -* Version : %version: tr1sido#4 % +* Version : %version: e002sa33#7 % * */ #ifndef CESMRTRACKINGVIEWDIALOG_H #define CESMRTRACKINGVIEWDIALOG_H // SYSTEM INCLUDE -#include +#include #include +//#include #include "mesmruibase.h" #include "mesmrresponseobserver.h" #include "resmrstatic.h" -#include "mesmrfieldeventobserver.h" + // FORWARD DECLARATIONS class CESMRPolicy; class MAgnEntryUiCallback; class MESMRCalEntry; -class CESMRView; -class CAiwServiceHandler; +class CESMRTrackingView; class CESMRTrackingViewDialog : public CAknDialog, - public MESMRUiBase, - public MESMRFieldEventObserver + public MESMRUiBase { public: @@ -44,10 +43,10 @@ * Two-phased constructor. * */ - static CESMRTrackingViewDialog* NewL - (CESMRPolicy* aPolicy, - MESMRCalEntry& aEntry, - MAgnEntryUiCallback& aCallback + static CESMRTrackingViewDialog* NewL( + const CESMRPolicy& aPolicy, + MESMRCalEntry& aEntry, + MAgnEntryUiCallback& aCallback ); /* @@ -68,29 +67,25 @@ public: // From MESUIBase TInt ExecuteViewLD(); -protected: // From MESMRFieldEventObserver +public: // Used by tracking vieww - void HandleFieldEventL( const MESMRFieldEvent& aEvent ); + void HandleListEventL(); private: // Implementation void DoProcessCommandL( TInt aCommand ); - CESMRTrackingViewDialog(MESMRCalEntry& aEntry, MAgnEntryUiCallback& aCallback); - void ConstructL( CESMRPolicy* aPolicy ); + CESMRTrackingViewDialog( const CESMRPolicy& aPolicy, + MESMRCalEntry& aEntry, + MAgnEntryUiCallback& aCallback); + void ConstructL(); TInt CountAttendeesL(CCalAttendee::TCalRole aRole); void SortAttendeesL(); - void HandlePrintCommandL(TInt aCommand); private: /** - * Own:Feature manager initialization flag - */ - TBool iFeatureManagerInitialized; - - /** * Ref: Policy for building fields and menus */ - CESMRPolicy* iPolicy; + const CESMRPolicy& iPolicy; /// Ref: Reference to MESRCalEntry (CCalEntry wrapper) MESMRCalEntry& iEntry; @@ -101,10 +96,7 @@ /** * Ref: The only control in this dialog. Fwk deletes. */ - CESMRView* iView; - - /// Own: AIW Service handler - CAiwServiceHandler* iServiceHandler; + CESMRTrackingView* iView; /// Own: Static TLS data handler RESMRStatic iESMRStatic;