gssettingsuis/Gs/GSCallDivertPlugin/Inc/GSCallDivertView.h
author hgs
Thu, 04 Nov 2010 13:38:47 +0800
changeset 68 13e71d907dc3
permissions -rw-r--r--
201044
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
68
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description:  View handling for Call Divert.
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
hgs
parents:
diff changeset
    19
#ifndef CFCALLDIVERTVIEW_H
hgs
parents:
diff changeset
    20
#define CFCALLDIVERTVIEW_H
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
// INCLUDES
hgs
parents:
diff changeset
    23
#include "GSLocalBaseView.h"
hgs
parents:
diff changeset
    24
#include "CallDivertPlugin.hrh"
hgs
parents:
diff changeset
    25
hgs
parents:
diff changeset
    26
#include <aknlists.h>
hgs
parents:
diff changeset
    27
#include <AiwContactAssignDataTypes.h>
hgs
parents:
diff changeset
    28
#include <AiwCommon.h>
hgs
parents:
diff changeset
    29
#include <MVPbkSingleContactOperationObserver.h>
hgs
parents:
diff changeset
    30
#include <MVPbkContactStoreListObserver.h>
hgs
parents:
diff changeset
    31
#include <nwdefs.h>
hgs
parents:
diff changeset
    32
hgs
parents:
diff changeset
    33
// FORWARD DECLARATIONS
hgs
parents:
diff changeset
    34
class CAiwServiceHandler;
hgs
parents:
diff changeset
    35
class CGSCallDivertModel;
hgs
parents:
diff changeset
    36
class CGSCallDivertPluginContainer;
hgs
parents:
diff changeset
    37
class CGSCallDivertQuery;
hgs
parents:
diff changeset
    38
class CVPbkContactLinkArray;
hgs
parents:
diff changeset
    39
class CVPbkContactManager;
hgs
parents:
diff changeset
    40
class MVPbkContactLink;
hgs
parents:
diff changeset
    41
hgs
parents:
diff changeset
    42
hgs
parents:
diff changeset
    43
// CLASS DECLARATION
hgs
parents:
diff changeset
    44
hgs
parents:
diff changeset
    45
/**
hgs
parents:
diff changeset
    46
*  CGSCallDivertView view class.
hgs
parents:
diff changeset
    47
*/
hgs
parents:
diff changeset
    48
class CGSCallDivertView : public CGSLocalBaseView,
hgs
parents:
diff changeset
    49
                          public MAiwNotifyCallback,
hgs
parents:
diff changeset
    50
                          public MVPbkSingleContactOperationObserver,
hgs
parents:
diff changeset
    51
                          public MVPbkContactStoreListObserver
hgs
parents:
diff changeset
    52
    {
hgs
parents:
diff changeset
    53
    public: // Constructors and destructor
hgs
parents:
diff changeset
    54
hgs
parents:
diff changeset
    55
        /**
hgs
parents:
diff changeset
    56
        * Symbian OS default constructor
hgs
parents:
diff changeset
    57
        */
hgs
parents:
diff changeset
    58
        void ConstructL();
hgs
parents:
diff changeset
    59
hgs
parents:
diff changeset
    60
        /**
hgs
parents:
diff changeset
    61
        * Destructor
hgs
parents:
diff changeset
    62
        */
hgs
parents:
diff changeset
    63
        ~CGSCallDivertView();
hgs
parents:
diff changeset
    64
hgs
parents:
diff changeset
    65
hgs
parents:
diff changeset
    66
        /**
hgs
parents:
diff changeset
    67
        * Symbian OS two-phase Constructor
hgs
parents:
diff changeset
    68
        * @return pointer to CGSCallDivertView object
hgs
parents:
diff changeset
    69
        */
hgs
parents:
diff changeset
    70
        static CGSCallDivertView* NewLC( CGSCallDivertModel* aModel );
hgs
parents:
diff changeset
    71
hgs
parents:
diff changeset
    72
hgs
parents:
diff changeset
    73
hgs
parents:
diff changeset
    74
    public: // Functions from base class CAknView
hgs
parents:
diff changeset
    75
hgs
parents:
diff changeset
    76
        /* C++ Constructor */
hgs
parents:
diff changeset
    77
        CGSCallDivertView( CGSCallDivertModel* aModel );
hgs
parents:
diff changeset
    78
hgs
parents:
diff changeset
    79
        /**
hgs
parents:
diff changeset
    80
        * From CAknView, gives the id of the view.
hgs
parents:
diff changeset
    81
        *
hgs
parents:
diff changeset
    82
        * @return Returns the TUid of the view.
hgs
parents:
diff changeset
    83
        */
hgs
parents:
diff changeset
    84
        TUid Id() const;
hgs
parents:
diff changeset
    85
hgs
parents:
diff changeset
    86
        /**
hgs
parents:
diff changeset
    87
        * From MEikCommandObserver, handles the commands.
hgs
parents:
diff changeset
    88
        *
hgs
parents:
diff changeset
    89
        * @param aCommand identifies the command given.
hgs
parents:
diff changeset
    90
        */
hgs
parents:
diff changeset
    91
        void HandleCommandL( TInt aCommand );
hgs
parents:
diff changeset
    92
        /**
hgs
parents:
diff changeset
    93
        * From MEikCommandObserver, handles the commands.
hgs
parents:
diff changeset
    94
        *
hgs
parents:
diff changeset
    95
        * @param aCommand identifies the command given.
hgs
parents:
diff changeset
    96
        */
hgs
parents:
diff changeset
    97
        void ProcessCommandL( TInt aCommand );
hgs
parents:
diff changeset
    98
hgs
parents:
diff changeset
    99
    public: // MAiwNotifyCallback
hgs
parents:
diff changeset
   100
hgs
parents:
diff changeset
   101
        /**
hgs
parents:
diff changeset
   102
        * From MAiwNotifyCallback. Handles notifications caused by an
hgs
parents:
diff changeset
   103
        * asynchronous Execute*CmdL call or an event.
hgs
parents:
diff changeset
   104
        *
hgs
parents:
diff changeset
   105
        * @param aCmdId The service command associated to the event.
hgs
parents:
diff changeset
   106
        * @param aEventId Occured event, see AiwCommon.hrh.
hgs
parents:
diff changeset
   107
        * @param aEventParamList Event parameters, if any, as defined per
hgs
parents:
diff changeset
   108
        *        each event.
hgs
parents:
diff changeset
   109
        * @param aInParamList Input parameters, if any, given in the
hgs
parents:
diff changeset
   110
        *        related HandleCommmandL.
hgs
parents:
diff changeset
   111
        * @return Error code for the callback.
hgs
parents:
diff changeset
   112
        */
hgs
parents:
diff changeset
   113
        TInt HandleNotifyL(
hgs
parents:
diff changeset
   114
            TInt aCmdId,
hgs
parents:
diff changeset
   115
            TInt aEventId,
hgs
parents:
diff changeset
   116
            CAiwGenericParamList& aEventParamList,
hgs
parents:
diff changeset
   117
            const CAiwGenericParamList& aInParamList);
hgs
parents:
diff changeset
   118
hgs
parents:
diff changeset
   119
    public: // From MVPbkSingleContactOperationObserver
hgs
parents:
diff changeset
   120
hgs
parents:
diff changeset
   121
        /**
hgs
parents:
diff changeset
   122
        * This is called when user has selected a contact from pbk2
hgs
parents:
diff changeset
   123
        * contacts-dialog.
hgs
parents:
diff changeset
   124
        * @param aOperation pbk2 related operation. Not used here.
hgs
parents:
diff changeset
   125
        * @param aContact Selected contact data.
hgs
parents:
diff changeset
   126
        */
hgs
parents:
diff changeset
   127
        void VPbkSingleContactOperationComplete(
hgs
parents:
diff changeset
   128
            MVPbkContactOperationBase& aOperation,
hgs
parents:
diff changeset
   129
            MVPbkStoreContact* aContact );
hgs
parents:
diff changeset
   130
        /**
hgs
parents:
diff changeset
   131
        * See MVPbkSingleContactOperationObserver.
hgs
parents:
diff changeset
   132
        */
hgs
parents:
diff changeset
   133
        void VPbkSingleContactOperationFailed(
hgs
parents:
diff changeset
   134
            MVPbkContactOperationBase& aOperation,
hgs
parents:
diff changeset
   135
            TInt aError );
hgs
parents:
diff changeset
   136
hgs
parents:
diff changeset
   137
    public: // From MVPbkContactStoreListObserver
hgs
parents:
diff changeset
   138
hgs
parents:
diff changeset
   139
        /**
hgs
parents:
diff changeset
   140
        * See MVPbkContactStoreListObserver.
hgs
parents:
diff changeset
   141
        */
hgs
parents:
diff changeset
   142
        void OpenComplete();
hgs
parents:
diff changeset
   143
hgs
parents:
diff changeset
   144
        /**
hgs
parents:
diff changeset
   145
        * See MVPbkContactStoreListObserver.
hgs
parents:
diff changeset
   146
        */
hgs
parents:
diff changeset
   147
        void StoreReady( MVPbkContactStore& aContactStore );
hgs
parents:
diff changeset
   148
hgs
parents:
diff changeset
   149
        /**
hgs
parents:
diff changeset
   150
        * See MVPbkContactStoreListObserver.
hgs
parents:
diff changeset
   151
        */
hgs
parents:
diff changeset
   152
        void StoreUnavailable( MVPbkContactStore& aContactStore,
hgs
parents:
diff changeset
   153
                               TInt aReason );
hgs
parents:
diff changeset
   154
hgs
parents:
diff changeset
   155
        /**
hgs
parents:
diff changeset
   156
        * See MVPbkContactStoreListObserver.
hgs
parents:
diff changeset
   157
        */
hgs
parents:
diff changeset
   158
        void HandleStoreEventL( MVPbkContactStore& aContactStore,
hgs
parents:
diff changeset
   159
                                TVPbkContactStoreEvent aStoreEvent );
hgs
parents:
diff changeset
   160
hgs
parents:
diff changeset
   161
    public: // New
hgs
parents:
diff changeset
   162
hgs
parents:
diff changeset
   163
        /**
hgs
parents:
diff changeset
   164
        * Creates time list to be used in "not available" cf service.
hgs
parents:
diff changeset
   165
        * @return Returns user keypress of the list
hgs
parents:
diff changeset
   166
        */
hgs
parents:
diff changeset
   167
        TInt CreateTimeListL();
hgs
parents:
diff changeset
   168
hgs
parents:
diff changeset
   169
    private: // From base class CGSBaseView
hgs
parents:
diff changeset
   170
hgs
parents:
diff changeset
   171
        /**
hgs
parents:
diff changeset
   172
        * See CGSBaseView.
hgs
parents:
diff changeset
   173
        */
hgs
parents:
diff changeset
   174
        void NewContainerL();
hgs
parents:
diff changeset
   175
hgs
parents:
diff changeset
   176
        /**
hgs
parents:
diff changeset
   177
        * See CGSBaseView.
hgs
parents:
diff changeset
   178
        */
hgs
parents:
diff changeset
   179
        void HandleListBoxSelectionL();
hgs
parents:
diff changeset
   180
hgs
parents:
diff changeset
   181
    private: //new
hgs
parents:
diff changeset
   182
hgs
parents:
diff changeset
   183
        /**
hgs
parents:
diff changeset
   184
        * Executes divert query dialog.
hgs
parents:
diff changeset
   185
        * --> voice calls -> all voice calls -> activate -> this popup.
hgs
parents:
diff changeset
   186
        *                   OR
hgs
parents:
diff changeset
   187
        * --> data calls  -> all data calls  -> activate -> this popup.
hgs
parents:
diff changeset
   188
        *
hgs
parents:
diff changeset
   189
        * @param aTelNumber user selected existing divert-to number
hgs
parents:
diff changeset
   190
        * @param aTitle gives title to the list
hgs
parents:
diff changeset
   191
        * @param aVmbxValidNumber divert is to a voicemail box number
hgs
parents:
diff changeset
   192
        * @return Returns TTelnumber to be the target for operation.
hgs
parents:
diff changeset
   193
        */
hgs
parents:
diff changeset
   194
        void ExecuteDivertQueryL( TTelNumber& aTelNumber,
hgs
parents:
diff changeset
   195
                                  const TPtrC& aTitle,
hgs
parents:
diff changeset
   196
                                  TBool& aVmbxValidNumber );
hgs
parents:
diff changeset
   197
hgs
parents:
diff changeset
   198
        /**
hgs
parents:
diff changeset
   199
        * Displays a query for divert number. Used for all divert types:
hgs
parents:
diff changeset
   200
        * - voice
hgs
parents:
diff changeset
   201
        * - data
hgs
parents:
diff changeset
   202
        * - fax
hgs
parents:
diff changeset
   203
        * diverts.
hgs
parents:
diff changeset
   204
        *
hgs
parents:
diff changeset
   205
        * @param aValue text in the editor
hgs
parents:
diff changeset
   206
        * @param aType Dataquery resource ID text
hgs
parents:
diff changeset
   207
        * @return Returns the number.
hgs
parents:
diff changeset
   208
        */
hgs
parents:
diff changeset
   209
        void ExecuteDivertNumberQueryL( TDes& aValue, TInt aType );
hgs
parents:
diff changeset
   210
hgs
parents:
diff changeset
   211
        /**
hgs
parents:
diff changeset
   212
        * Single item fetch from the phonebook
hgs
parents:
diff changeset
   213
        * @param aNumber fetched phonenumber
hgs
parents:
diff changeset
   214
        */
hgs
parents:
diff changeset
   215
        void StartAsyncPhoneNumberFetchL( /*TDes& aNumber*/ );
hgs
parents:
diff changeset
   216
hgs
parents:
diff changeset
   217
hgs
parents:
diff changeset
   218
        /**
hgs
parents:
diff changeset
   219
        * Checks if the user given telephone number contain
hgs
parents:
diff changeset
   220
        * illegal ('#', 'p', 'w', ...) characters
hgs
parents:
diff changeset
   221
        *
hgs
parents:
diff changeset
   222
        *   @param  aDivertTo   user given telephone number
hgs
parents:
diff changeset
   223
        */
hgs
parents:
diff changeset
   224
        static TInt ValidatePhoneNumberL( const TDesC& aDivertTo );
hgs
parents:
diff changeset
   225
hgs
parents:
diff changeset
   226
        /**
hgs
parents:
diff changeset
   227
        *   Appends to array a delay time in steps of five (5,10,15,...).
hgs
parents:
diff changeset
   228
        *   Delay time is figured out by multiplying index by five.
hgs
parents:
diff changeset
   229
        *
hgs
parents:
diff changeset
   230
        *   @param   aArrayToAppend
hgs
parents:
diff changeset
   231
        *   @param  aIndex
hgs
parents:
diff changeset
   232
        */
hgs
parents:
diff changeset
   233
        void AppendDelayItemL( CDesCArrayFlat& aArrayToAppend, TInt aIndex );
hgs
parents:
diff changeset
   234
hgs
parents:
diff changeset
   235
hgs
parents:
diff changeset
   236
        /**
hgs
parents:
diff changeset
   237
        * Seeks '+' from given number.
hgs
parents:
diff changeset
   238
        *   @param  aDivertTo   the number checked for
hgs
parents:
diff changeset
   239
        *   @return Either KErrNone (no plus) or KCFErrIllegalNumber.
hgs
parents:
diff changeset
   240
        */
hgs
parents:
diff changeset
   241
        static TInt FindPlus( const TDesC& aDivertTo );
hgs
parents:
diff changeset
   242
hgs
parents:
diff changeset
   243
        /**
hgs
parents:
diff changeset
   244
        * Sets prompt text to a query.
hgs
parents:
diff changeset
   245
        */
hgs
parents:
diff changeset
   246
        void SetPromptToQueryL( CGSCallDivertQuery& aQuery,
hgs
parents:
diff changeset
   247
                                const TInt& aType );
hgs
parents:
diff changeset
   248
hgs
parents:
diff changeset
   249
        /**
hgs
parents:
diff changeset
   250
        * Creates items for Delay time list
hgs
parents:
diff changeset
   251
        */
hgs
parents:
diff changeset
   252
        void CreateDelayTimeItemsL( CDesCArrayFlat& aItems );
hgs
parents:
diff changeset
   253
hgs
parents:
diff changeset
   254
        /**
hgs
parents:
diff changeset
   255
        * Creates items for Delay time list for restricted call divert
hgs
parents:
diff changeset
   256
        */
hgs
parents:
diff changeset
   257
        void CreateRestrictedCallDivertDelayTimeItemsL( CDesCArrayFlat& aItems );
hgs
parents:
diff changeset
   258
hgs
parents:
diff changeset
   259
        /**
hgs
parents:
diff changeset
   260
        * Displays invalid number note.
hgs
parents:
diff changeset
   261
        */
hgs
parents:
diff changeset
   262
        static void ShowErrorNoteL();
hgs
parents:
diff changeset
   263
hgs
parents:
diff changeset
   264
        /**
hgs
parents:
diff changeset
   265
        * Updates most recently used voice divert numbers to cenrep
hgs
parents:
diff changeset
   266
        *
hgs
parents:
diff changeset
   267
        *   @param  aItems          array in which all items are
hgs
parents:
diff changeset
   268
        *   @param  aNumber         telNumber to be updated
hgs
parents:
diff changeset
   269
        */
hgs
parents:
diff changeset
   270
        void UpdateDefaultVoiceDivertNumbersL( TDes& aNumber );
hgs
parents:
diff changeset
   271
hgs
parents:
diff changeset
   272
        /**
hgs
parents:
diff changeset
   273
        * Reads 3 previously used voice divert numbers.
hgs
parents:
diff changeset
   274
        *
hgs
parents:
diff changeset
   275
        *   @param  aItems          array in which the items are put into
hgs
parents:
diff changeset
   276
        *   @param  aDefaultNumbers array from which default items are read
hgs
parents:
diff changeset
   277
        */
hgs
parents:
diff changeset
   278
        void ReadDefaultVoiceDivertNumbersL( CDesCArray& aItems,
hgs
parents:
diff changeset
   279
                                             CDesC16ArrayFlat& aDefaultNumbers );
hgs
parents:
diff changeset
   280
hgs
parents:
diff changeset
   281
        /**
hgs
parents:
diff changeset
   282
        * Creates items for the target list ('To voicemailbox', ...)
hgs
parents:
diff changeset
   283
        *
hgs
parents:
diff changeset
   284
        *   @param  aItems          array in which the items are put into
hgs
parents:
diff changeset
   285
        *   @param  aDefaultNumbers array from which default items are read
hgs
parents:
diff changeset
   286
        */
hgs
parents:
diff changeset
   287
        void CreateVoiceDivertItemsL( CDesCArray& aItems,
hgs
parents:
diff changeset
   288
                                      CDesC16ArrayFlat& aDefaultNumbers );
hgs
parents:
diff changeset
   289
hgs
parents:
diff changeset
   290
        /**
hgs
parents:
diff changeset
   291
        * Creates items for the target list ('To voicemailbox', ...)
hgs
parents:
diff changeset
   292
        *
hgs
parents:
diff changeset
   293
        *   @param  aItems          array in which the items are put into
hgs
parents:
diff changeset
   294
        */
hgs
parents:
diff changeset
   295
        void CreateVideoDivertItemsL( CDesCArray& aItems );
hgs
parents:
diff changeset
   296
hgs
parents:
diff changeset
   297
        /**
hgs
parents:
diff changeset
   298
        * Handles users selection from Target menu
hgs
parents:
diff changeset
   299
        */
hgs
parents:
diff changeset
   300
        TTelNumber HandleVoiceDivertSelectionL(
hgs
parents:
diff changeset
   301
            CAknSinglePopupMenuStyleListBox& aList,
hgs
parents:
diff changeset
   302
            CDesC16ArrayFlat& aDefNumbers,
hgs
parents:
diff changeset
   303
            TBool& aVmbxDivert );
hgs
parents:
diff changeset
   304
hgs
parents:
diff changeset
   305
        /**
hgs
parents:
diff changeset
   306
        * Handles users selection from Target menu
hgs
parents:
diff changeset
   307
        */
hgs
parents:
diff changeset
   308
        TTelNumber HandleVideoDivertSelectionL(
hgs
parents:
diff changeset
   309
                CAknSinglePopupMenuStyleListBox& aList );
hgs
parents:
diff changeset
   310
        
hgs
parents:
diff changeset
   311
        /**
hgs
parents:
diff changeset
   312
         * Displays data call number query and activates data divert
hgs
parents:
diff changeset
   313
         * @param aTelNumber Phone number for call divert
hgs
parents:
diff changeset
   314
         */
hgs
parents:
diff changeset
   315
        void DisplayDataCallDivertNumberQueryL( TTelNumber& aTelNumber );
hgs
parents:
diff changeset
   316
        
hgs
parents:
diff changeset
   317
        /**
hgs
parents:
diff changeset
   318
         * Remove invalid " ", "()" which were sync with PC suite. 
hgs
parents:
diff changeset
   319
         * Make sure the call divert behavior is the same as user making a phone call. 
hgs
parents:
diff changeset
   320
         * Illegal ('#', 'p', 'w', ...) characters are handled in ValidatePhoneNumberL().
hgs
parents:
diff changeset
   321
         * @param aNumber Phone number for call divert
hgs
parents:
diff changeset
   322
         * @param aInvalidChars the invalid chars to remove
hgs
parents:
diff changeset
   323
         */
hgs
parents:
diff changeset
   324
        void RemoveInvalidChars( TDes& aNumber );
hgs
parents:
diff changeset
   325
hgs
parents:
diff changeset
   326
    private:
hgs
parents:
diff changeset
   327
hgs
parents:
diff changeset
   328
        void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
hgs
parents:
diff changeset
   329
hgs
parents:
diff changeset
   330
    private:
hgs
parents:
diff changeset
   331
        // Has selection key been pressed
hgs
parents:
diff changeset
   332
        TBool               iRockerPress;
hgs
parents:
diff changeset
   333
hgs
parents:
diff changeset
   334
        // Array of setting item titles
hgs
parents:
diff changeset
   335
        CDesCArray*         iTitles;
hgs
parents:
diff changeset
   336
hgs
parents:
diff changeset
   337
        /**
hgs
parents:
diff changeset
   338
        * Member variables related to AIW service handler used by pbk2 contact
hgs
parents:
diff changeset
   339
        * selection functionality. Former functionality was synchronous dialog
hgs
parents:
diff changeset
   340
        * based but pbk2 framework required refactoring this to asynchronous.
hgs
parents:
diff changeset
   341
        * As a result a bucket load of observers and functionality otherwise
hgs
parents:
diff changeset
   342
        * unused is needed here. Basically the call divert plugin is now
hgs
parents:
diff changeset
   343
        * changed into a state machine because of pbk2 requirement.
hgs
parents:
diff changeset
   344
        */
hgs
parents:
diff changeset
   345
        // AIW service for pbk2.
hgs
parents:
diff changeset
   346
        CAiwServiceHandler* iServiceHandler;
hgs
parents:
diff changeset
   347
        // Handles contact stores.
hgs
parents:
diff changeset
   348
        CVPbkContactManager* iContactManager;
hgs
parents:
diff changeset
   349
        // Pointer to both a contact and a contact field
hgs
parents:
diff changeset
   350
        CVPbkContactLinkArray* iContactLinks;
hgs
parents:
diff changeset
   351
        // Pbk stores are opened.
hgs
parents:
diff changeset
   352
        TBool iStoresOpened;
hgs
parents:
diff changeset
   353
        // Stores pbk2 operations.
hgs
parents:
diff changeset
   354
        MVPbkContactOperationBase* iRetrieveOperation;
hgs
parents:
diff changeset
   355
        // Used pbk2 number query which is asynchronously.
hgs
parents:
diff changeset
   356
        TBool iNumberFetchedAsynchronously;
hgs
parents:
diff changeset
   357
hgs
parents:
diff changeset
   358
hgs
parents:
diff changeset
   359
        // Call divert request is for voice mailbox.
hgs
parents:
diff changeset
   360
        TBool iVoiceMailboxDivert;
hgs
parents:
diff changeset
   361
hgs
parents:
diff changeset
   362
        //Context menu items for call forwarding
hgs
parents:
diff changeset
   363
        CDesCArrayFlat* iContextMenuItems;
hgs
parents:
diff changeset
   364
hgs
parents:
diff changeset
   365
        // Reference to call divert model. NOT owned.
hgs
parents:
diff changeset
   366
        CGSCallDivertModel* iModel;
hgs
parents:
diff changeset
   367
        TBool iVideoMailboxSupported;
hgs
parents:
diff changeset
   368
hgs
parents:
diff changeset
   369
    };
hgs
parents:
diff changeset
   370
hgs
parents:
diff changeset
   371
hgs
parents:
diff changeset
   372
hgs
parents:
diff changeset
   373
#endif //CFCALLDIVERTVIEW_H
hgs
parents:
diff changeset
   374
// End of File