wvuing/wvuiave/AppSrc/ccainvitationview.cpp
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  View class for private chat list view
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include	"CCAAppUi.h"
       
    21 #include	"CCAStatusPaneHandler.h"
       
    22 #include    "chatngclient.hrh"
       
    23 #include    "ccainvitationview.h"
       
    24 #include    "ccainvitationcontainer.h"
       
    25 #include    "caexternalinterface.h"
       
    26 #include    "ChatDebugPrint.h"
       
    27 #include    "CCAUISessionManager.h"
       
    28 #include    "MCABlockingPC.h"
       
    29 #include    "CCABlockingUI.h"
       
    30 #include    "MCAInvitationPC.h"
       
    31 #include    "MCAProcessManager.h"
       
    32 
       
    33 #include    "IMDialogUtils.h"
       
    34 #include    "IMUtils.h"
       
    35 #include    "CCATextQuerydialog.h"
       
    36 #include    "CCAGroupUtils.h"
       
    37 #include	"MCAUiLoginCmdCB.h"
       
    38 #include    "MCALoginPC.h"
       
    39 
       
    40 // local variation
       
    41 #include    "IMPrivateCRKeys.h"
       
    42 #include    "IMVariant.hrh"
       
    43 // The Settings have been moved to Cenrep (also retained in the Resource file),
       
    44 // so the enums for keys and central repository header is added here
       
    45 #include 	"VariantKeys.h"
       
    46 
       
    47 #include	"CCASyncChecker.h"
       
    48 #include    <barsread.h>
       
    49 #include	<bldvariant.hrh>
       
    50 #include    <eikmenup.h>
       
    51 #include    <chatNG.rsg>
       
    52 #include    <hlplch.h>
       
    53 #include    <FeatMgr.h>
       
    54 #include    <AknDlgShut.h>
       
    55 #include    <StringLoader.h>
       
    56 #include	<aknglobalnote.h>
       
    57 #include	<stringloader.h>
       
    58 #include    <eiklbx.h>
       
    59 #include    <SysUtil.h>
       
    60 
       
    61 #include	<csxhelp/imng.hlp.hrh>
       
    62 
       
    63 // ================= MEMBER FUNCTIONS =======================
       
    64 
       
    65 
       
    66 
       
    67 // -----------------------------------------------------------------------------
       
    68 // CCAInvitationView::CCAInvitationView()
       
    69 // C++ default constructor can NOT contain any code, that
       
    70 // might leave.
       
    71 // -----------------------------------------------------------------------------
       
    72 //
       
    73 CCAInvitationView::CCAInvitationView() : iChatJoinRejectFlag( EFalse )
       
    74     {
       
    75     }
       
    76 
       
    77 
       
    78 // Destructor
       
    79 CCAInvitationView::~CCAInvitationView()
       
    80     {
       
    81     if ( iContainer && iAppUi )
       
    82         {
       
    83         iAppUi->RemoveFromViewStack( *this, iContainer );
       
    84         delete iContainer;
       
    85         iContainer = NULL;
       
    86         }
       
    87 
       
    88     delete iBlockingUI;
       
    89     delete iAsyncCallBack;
       
    90     delete iIdentification;
       
    91 
       
    92     }
       
    93 // -----------------------------------------------------------------------------
       
    94 // CCAInvitationView::ConstructL()
       
    95 // C++ default constructor can NOT contain any code, that
       
    96 // might leave.
       
    97 // -----------------------------------------------------------------------------
       
    98 //
       
    99 
       
   100 void CCAInvitationView::ConstructL( TInt aAvkonViewResourceId,
       
   101                                     TUid aViewId )
       
   102     {
       
   103     BaseConstructL( aAvkonViewResourceId, aViewId );
       
   104 
       
   105     iAppUi = static_cast<CCAAppUi*>( CEikonEnv::Static()->AppUi() );
       
   106 
       
   107     MCABlockingPC* blockingPC = iAppUi->GetProcessManager().GetBlockingInterface();
       
   108 
       
   109     iInvitationPC =  iAppUi->GetProcessManager().GetInvitationsInterface();
       
   110     iBlockingUI = CCABlockingUI::NewL( blockingPC );
       
   111     iRejectReason = iInvitationPC->RejectReason();
       
   112     iTitlePane = iAppUi->CAStatusPane();
       
   113     }
       
   114 
       
   115 // ---------------------------------------------------------
       
   116 // CCAInvitationView::HandleCommandL()
       
   117 //
       
   118 // (other items were commented in a header).
       
   119 // ---------------------------------------------------------
       
   120 //
       
   121 void CCAInvitationView::HandleCommandL( TInt aCommand )
       
   122     {
       
   123     HBufC* screenName = iAppUi->ScreenNamePtr();
       
   124     TPtr screenNamePtr = screenName->Des();
       
   125     TPtr rejectReasonPtr = iRejectReason->Des();
       
   126     if ( iChatJoinRejectFlag )
       
   127         {
       
   128         return;
       
   129         }
       
   130     switch ( aCommand )
       
   131         {
       
   132             // These cases require, that we are logged in
       
   133         case EChatInvitationDlgCmdJoin:
       
   134         case EChatInvitationDlgCmdReject:
       
   135         case EChatClientFriendsListViewCmdBlock:
       
   136         case EChatClientFriendsListViewCmdBlockEnter:
       
   137         case EChatClientFriendsListViewShowBlockedList:
       
   138         case EChatClientFriendsListViewUnblock:
       
   139             {
       
   140             if ( !UISessionManager().LoginL( MCAUiLoginCmdCB::EQueryLogin ) )
       
   141                 {
       
   142                 return;
       
   143                 }
       
   144             break;
       
   145             }
       
   146         default:
       
   147             {
       
   148             break;
       
   149             }
       
   150         }
       
   151 #ifdef IMPS_CONTACT_FETCH_BACKGROUND
       
   152 
       
   153     switch ( aCommand )
       
   154         {
       
   155             // These cases require, that we are logged in
       
   156             //case EChatInvitationDlgCmdJoin:
       
   157             //case EChatInvitationDlgCmdReject:
       
   158         case EChatClientFriendsListViewCmdBlock:
       
   159         case EChatClientFriendsListViewCmdBlockEnter:
       
   160         case EChatClientFriendsListViewShowBlockedList:
       
   161         case EChatClientFriendsListViewUnblock:
       
   162             {
       
   163             if ( !CCASyncChecker::CheckSyncStateL() )
       
   164                 {
       
   165                 return;
       
   166                 }
       
   167             break;
       
   168             }
       
   169         default:
       
   170             {
       
   171             break;
       
   172             }
       
   173         }
       
   174 #endif //IMPS_CONTACT_FETCH_BACKGROUND   
       
   175     switch ( aCommand )
       
   176         {
       
   177         case EAknSoftkeyBack:
       
   178         case EChatClientCmdBack:
       
   179             {
       
   180             if ( !iContainer->IsInvitationOpen() )
       
   181                 {
       
   182                 if ( iTitlePane )
       
   183                     {
       
   184                     iTitlePane->SynchroniseAndRemoveTabGroup();
       
   185                     }
       
   186                 TCADnlConvInvGroupFocus dnlConvInvGroupFocus;
       
   187                 dnlConvInvGroupFocus.iInvConvGroupID.Copy( iAppUi->GetProcessManager().GetInvitationsInterface()->GetInviteID( iInvitationIndex ) );
       
   188                 dnlConvInvGroupFocus.iListID.Copy( KNullDesC() );
       
   189                 dnlConvInvGroupFocus.iType = EInviteItem;
       
   190                 TCADnlConvInvGroupFocusBuf convInvGroupFocusBuf( dnlConvInvGroupFocus );
       
   191                 iAppUi->SwitchViewBackL( KUidFriendsListView, KConvInvGroupFocusId, convInvGroupFocusBuf );
       
   192                 }
       
   193             break;
       
   194             }
       
   195         case EChatInvitationDlgCmdJoin:
       
   196             {
       
   197             // ask the screen name
       
   198             TInt result( EAknSoftkeyOk );
       
   199             result = iAppUi->GroupUtils()->ScreenNameQueryL( screenNamePtr );
       
   200 
       
   201             if ( ( result == EAknSoftkeyOk ) || ( result == EAknSoftkeyYes )  )
       
   202                 {
       
   203                 iChatJoinRejectFlag = ETrue;
       
   204                 iContainer->JoinToGroupL( iInvitationIndex );
       
   205                 iChatJoinRejectFlag = EFalse;
       
   206                 }
       
   207 
       
   208             break;
       
   209             }
       
   210 
       
   211         case EChatInvitationDlgCmdReject:
       
   212             {
       
   213             // ask the reason
       
   214             // CodeScanner warning ignored because CS does not
       
   215             // notice that PrepareLC puts the dialog to cleanupstack
       
   216             CCATextQueryDialog* dlg = CCATextQueryDialog::NewL( rejectReasonPtr ); // CSI: 35 # See comment above
       
   217             dlg->PrepareLC( R_CHATCLIENT_REJECT_REASON_QUERY );
       
   218             dlg->SetTitleL( R_QTN_CHAT_INVIT_REJECT_REASON );
       
   219             dlg->SetPredictiveTextInputPermitted( ETrue ); // T9
       
   220             TInt result( dlg->RunLD() );
       
   221 
       
   222             if ( ( result == EAknSoftkeyOk ) || ( result == EAknSoftkeyYes )  )
       
   223                 {
       
   224                 iChatJoinRejectFlag = ETrue;
       
   225                 iContainer->RejectInvitationL( iInvitationIndex, rejectReasonPtr );
       
   226                 iChatJoinRejectFlag = EFalse;
       
   227                 if ( iTitlePane )
       
   228                     {
       
   229                     iTitlePane->SynchroniseAndRemoveTabGroup();
       
   230                     }
       
   231                 iAppUi->SwitchViewBackL( KUidFriendsListView );
       
   232                 }
       
   233 
       
   234             break;
       
   235             }
       
   236         case EKeyDelete:
       
   237         case EChatInvitationDlgCmdDelete:
       
   238             {
       
   239             // ask the confirmation
       
   240             HBufC* prompt =
       
   241                 iEikonEnv->AllocReadResourceLC( R_CHAT_CONV_LIST_INV_DEL );
       
   242             CAknQueryDialog* dlg = new( ELeave )CAknQueryDialog();
       
   243             CleanupStack::PushL( dlg );
       
   244             dlg->SetPromptL( prompt->Des() );
       
   245             CleanupStack::Pop( dlg );
       
   246             TInt ret( dlg->ExecuteLD( R_CLOSE_COVERSATION_QUERY ) );
       
   247             CleanupStack::PopAndDestroy( prompt );
       
   248 
       
   249             // should be deleted
       
   250             if ( ( ret == EAknSoftkeyOk ) || ( ret == EAknSoftkeyYes ) )
       
   251                 {
       
   252                 iChatJoinRejectFlag = ETrue;
       
   253                 iContainer->DeleteInvitationL( iInvitationIndex );
       
   254                 iChatJoinRejectFlag = EFalse;
       
   255                 if ( iTitlePane )
       
   256                     {
       
   257                     iTitlePane->SynchroniseAndRemoveTabGroup();
       
   258                     }
       
   259                 iAppUi->SwitchViewBackL( KUidFriendsListView );
       
   260                 }
       
   261 
       
   262             break;
       
   263             }
       
   264 
       
   265         case EChatClientFriendsListViewCmdBlock:
       
   266             {
       
   267             iBlockingUI->BlockUserL( iInvitationPC->InvitationUserIDL( /*iInvitationIndex */ 0 ) );
       
   268             break;
       
   269             }
       
   270 
       
   271         case EChatClientFriendsListViewCmdBlockEnter:
       
   272             {
       
   273             iBlockingUI->DisplayBlockTextQueryL();
       
   274             break;
       
   275             }
       
   276 
       
   277         case EChatClientFriendsListViewShowBlockedList:
       
   278             {
       
   279             iBlockingUI->DisplayBlockedListL();
       
   280             break;
       
   281             }
       
   282 
       
   283         case EChatClientFriendsListViewUnblock:
       
   284             {
       
   285             iBlockingUI->DisplayUnblockListQueryL();
       
   286             break;
       
   287             }
       
   288 
       
   289         case EChatClientCmdHelp:
       
   290             {
       
   291             HlpLauncher::LaunchHelpApplicationL( CEikonEnv::Static()->WsSession(),
       
   292                                                  ( CCoeEnv::Static()->AppUi() )->AppHelpContextL () );
       
   293             break;
       
   294             }
       
   295         case EAknCmdExit:           // fall-through, handled similarily
       
   296         case EEikCmdExit:           // fall-through, handled similarily
       
   297         case EAknSoftkeyExit:       // fall-through, handled similarily
       
   298         case EChatClientCmdExit:
       
   299             {
       
   300             iAppUi->HandleCommandL( EAknSoftkeyExit );
       
   301             break;
       
   302             }
       
   303         case EAknSoftkeyOk:
       
   304             {
       
   305             // Show context menu with selection key
       
   306             ShowPopUpMenuL();
       
   307             break;
       
   308             }
       
   309         default:
       
   310             {
       
   311             AppUi()->HandleCommandL( aCommand );
       
   312             break;
       
   313             }
       
   314         }
       
   315 
       
   316     }
       
   317 
       
   318 // ---------------------------------------------------------
       
   319 // CCAInvitationView::DoActivateL
       
   320 // (other items were commented in a header).
       
   321 // ---------------------------------------------------------
       
   322 //
       
   323 void CCAInvitationView::DoActivateL( const TVwsViewId& /* aPrevViewId */,
       
   324                                      TUid aCustomMessageId,
       
   325                                      const TDesC8& aCustomMessage )
       
   326     {
       
   327     CHAT_DP( D_CHAT_LIT( "CCAInvitationView::DoActivateL, customMessageId:\
       
   328                           %d" ), aCustomMessageId );
       
   329     // Unregister the view that was registered from Forward option.
       
   330     // didn't find any better place to put this.
       
   331     if ( TEnumsPC::EToBeUnregistered == iAppUi->RetForwardTo() )
       
   332         {
       
   333         iAppUi->UnRegisterPreviousview( );
       
   334         iAppUi->SetResetForwardTo( TEnumsPC::EUnregistered );
       
   335         }
       
   336     iChatJoinRejectFlag = EFalse;
       
   337     iInvitationPC->RegisterObserver( this );
       
   338 
       
   339     TBool activateFromTabSwitch = EFalse;
       
   340     if ( aCustomMessageId == KUidInvViewMsgId )
       
   341         {
       
   342         TCADnlInvViewBuf viewBuf;
       
   343         viewBuf.Copy( aCustomMessage.Left( viewBuf.MaxLength() ) );
       
   344 
       
   345         activateFromTabSwitch = viewBuf().iSwitchTab;
       
   346         if ( activateFromTabSwitch )
       
   347             {
       
   348             iInvitationIndex = iInvitationPC->FindInvitationIndex( viewBuf().iInviteID );
       
   349             iTabId = viewBuf().iTabId;
       
   350             }
       
   351         else
       
   352             {
       
   353             iInvitationIndex = viewBuf().iInvitationIndex;
       
   354             if ( iTitlePane )
       
   355                 {
       
   356                 //hide navi pane decorators
       
   357                 iTitlePane->ClearNaviPaneL();
       
   358 
       
   359                 iTabId = iTitlePane->ShowTabGroupL( TEnumsPC::EInviteItem,
       
   360                                                     viewBuf().iInviteID );
       
   361                 }
       
   362             }
       
   363         }
       
   364     iIdentification = iInvitationPC->InvitationUserIDL( iInvitationIndex ).AllocL();
       
   365 
       
   366 
       
   367     if ( !iInvitationPC->IsInvitationUnread( iInvitationIndex ) )
       
   368         {
       
   369         iInvitationPC->SetInvitationAsReadL( iInvitationIndex );
       
   370         }
       
   371 
       
   372     // Reuse the container if it exists.
       
   373     iContainer = CCAInvitationContainer::NewL( ClientRect(),
       
   374                                                iInvitationIndex,
       
   375                                                iRejectReason->Des(),
       
   376                                                *CAViewSwitcher(),
       
   377                                                *this, iTabId,
       
   378                                                iContextFlag,
       
   379                                                *this );
       
   380                                                
       
   381     CEikButtonGroupContainer   *cba   =   CEikButtonGroupContainer::Current();
       
   382     cba->MakeCommandVisible( EAknSoftkeyOptions, EFalse ); 
       
   383     cba->MakeCommandVisible( EAknSoftkeyBack, EFalse );
       
   384     iContainer->SetMopParent( this );
       
   385     if ( iTitlePane )
       
   386         {
       
   387         iTitlePane->SetTitleL( iEikonEnv,
       
   388                                R_QTN_CHAT_INVITATION_TITLE );
       
   389         }
       
   390     iAppUi->SetAfterRefreshMode( ETrue );
       
   391 
       
   392     iInvitationPC->SetActiveInvitation( iInvitationIndex );
       
   393 
       
   394     if ( iTitlePane )
       
   395         {
       
   396         iTitlePane->AddObserver( this ) ;
       
   397         }
       
   398     iContainer->PrepareTextL( iInvitationIndex );
       
   399     cba->MakeCommandVisible( EAknSoftkeyOptions, ETrue );
       
   400     cba->MakeCommandVisible( EAknSoftkeyBack, ETrue );
       
   401     iAppUi->AddToViewStackL( *this, iContainer );
       
   402 
       
   403     MenuBar()->SetContextMenuTitleResourceId( R_CHATCLIENT_INVITATIONS_CONTEXTMENUBAR );
       
   404     }
       
   405 
       
   406 // ---------------------------------------------------------
       
   407 // CCAInvitationView::DoDeactivate()
       
   408 // (other items were commented in a header).
       
   409 // ---------------------------------------------------------
       
   410 //
       
   411 void CCAInvitationView::DoDeactivate()
       
   412     {
       
   413 
       
   414     delete iIdentification;
       
   415 
       
   416     iIdentification = NULL;
       
   417 
       
   418     if ( iTitlePane )
       
   419         {
       
   420         iTitlePane->RemoveObserver( this );
       
   421         }
       
   422 
       
   423     if ( iContainer )
       
   424         {
       
   425         iAppUi->RemoveFromViewStack( *this, iContainer );
       
   426         delete iContainer;
       
   427         iContainer = NULL;
       
   428         }
       
   429     iInvitationPC->UnRegisterObserver();
       
   430     }
       
   431 
       
   432 
       
   433 
       
   434 // ---------------------------------------------------------
       
   435 // CCAInvitationView::HandleInvitationEventL
       
   436 // (other items were commented in a header).
       
   437 // ---------------------------------------------------------
       
   438 //
       
   439 void CCAInvitationView::HandleInvitationEventL( TEnumsPC::TInviteType aInviteType, TInt aIndex )
       
   440     {
       
   441     switch ( aInviteType )
       
   442         {
       
   443         case TEnumsPC::ENewInvite:
       
   444             {
       
   445             break;
       
   446             }
       
   447         case TEnumsPC::EInviteCancelOrExpired:
       
   448             {
       
   449             //if the expired one is the current one which is being viewd
       
   450             //close the current view and switch the view back
       
   451             if ( aIndex == iInvitationIndex )
       
   452                 {
       
   453                 //since this is called by the system dont use the following
       
   454                 //CAAppUi()->CAStatusPane()->DeleteTab(iTabId); method to delete
       
   455                 //this invitation
       
   456                 if ( iTitlePane )
       
   457                     {
       
   458                     iTitlePane->SynchroniseAndRemoveTabGroup();
       
   459                     }
       
   460                 iAppUi->SwitchViewBackL( KUidFriendsListView );
       
   461                 }
       
   462             }
       
   463         default:
       
   464             {
       
   465             break;
       
   466             }
       
   467 
       
   468         }
       
   469 
       
   470     }
       
   471 
       
   472 // ---------------------------------------------------------
       
   473 // CCAInvitationView::HandleInvitationResponse
       
   474 // (other items were commented in a header).
       
   475 // ---------------------------------------------------------
       
   476 //
       
   477 void CCAInvitationView::HandleInvitationResponse( TBool /*aAcceptance*/,
       
   478                                                   const TDesC& /*aUserId*/,
       
   479                                                   const TDesC&  /*aGroupName*/,
       
   480                                                   const TDesC& /*aResponse*/ )
       
   481     {
       
   482     //Nothing to do here..
       
   483     //handled in appui
       
   484     }
       
   485 
       
   486 
       
   487 // ---------------------------------------------------------
       
   488 // CCAInvitationView::SwitchTabL
       
   489 // (other items were commented in a header).
       
   490 // ---------------------------------------------------------
       
   491 //
       
   492 void CCAInvitationView::SwitchTabL( const TDesC& aWvId, const TInt aTabIndex )
       
   493     {
       
   494 
       
   495     iInvitationIndex = iInvitationPC->FindInvitationIndex( aWvId );
       
   496     //if valid index then only perform the switch
       
   497     if ( iInvitationIndex != -1 )
       
   498         {
       
   499         iInvitationPC->SetActiveInvitation( iInvitationIndex );
       
   500 
       
   501         //Check whether the invitation is read else mark it read
       
   502         if ( !iInvitationPC->IsInvitationUnread( iInvitationIndex ) )
       
   503             {
       
   504             iInvitationPC->SetInvitationAsReadL( iInvitationIndex );
       
   505             }
       
   506 
       
   507         iTabId = aTabIndex;
       
   508 
       
   509         //remove the controls from view stack
       
   510         iAppUi->RemoveFromViewStack( *this, iContainer );
       
   511 
       
   512         iContainer->InvitationSwitchTabL( iInvitationIndex );
       
   513 
       
   514         //again add those controls to view stack
       
   515         iAppUi->AddToViewStackL( *this, iContainer );
       
   516 
       
   517         iChatJoinRejectFlag = EFalse;
       
   518         }
       
   519 
       
   520 
       
   521     }
       
   522 
       
   523 
       
   524 // -----------------------------------------------------------------------------
       
   525 // CCAInvitationView::DynInitMenuPaneL
       
   526 // (other items were commented in a header).
       
   527 // -----------------------------------------------------------------------------
       
   528 //
       
   529 
       
   530 void CCAInvitationView::DynInitMenuPaneL( TInt aResourceId,
       
   531                                           CEikMenuPane* aMenuPane )
       
   532     {
       
   533     // if we're displaying general menu and help feature is not supported..
       
   534     if ( aResourceId == R_CHATCLIENT_GENERAL_MENU &&
       
   535          !FeatureManager::FeatureSupported( KFeatureIdHelp ) )
       
   536         {
       
   537         // dim the help menu item
       
   538         aMenuPane->SetItemDimmed( EChatClientCmdHelp, ETrue );
       
   539         }
       
   540     switch ( aResourceId )
       
   541         {
       
   542         case R_CHATCLIENT_FRIENDSLIST_SUBMENU:
       
   543             {
       
   544             // Always hide this option as unblock shoul be should
       
   545             // be showed only in blocklist view.
       
   546             aMenuPane->SetItemDimmed( EChatClientFriendsListViewUnblock,
       
   547                                       ETrue );
       
   548 
       
   549             aMenuPane->SetItemDimmed( EChatClientFriendsListViewCmdBlock,
       
   550                                       iContainer->IsBlocked( iInvitationPC->
       
   551                                                              InvitationUserIDL( iInvitationIndex
       
   552                                                                               ) ) );
       
   553             // show/hide "show blocked list" option
       
   554             if ( !IMUtils::IntResourceValueL(
       
   555                      RSC_CHAT_VARIATION_SHOW_BLOCKED_LIST ) )
       
   556                 {
       
   557                 aMenuPane->SetItemDimmed(
       
   558                     EChatClientFriendsListViewShowBlockedList, ETrue );
       
   559                 }
       
   560 
       
   561             break;
       
   562             }
       
   563         default:
       
   564             {
       
   565             //we are never here.
       
   566             break;
       
   567             }
       
   568 
       
   569         }
       
   570     }
       
   571 
       
   572 // ---------------------------------------------------------
       
   573 // CCAInvitationView::ShowPopUpMenuL()
       
   574 // (other items were commented in a header).
       
   575 // ---------------------------------------------------------
       
   576 //
       
   577 void CCAInvitationView::ShowPopUpMenuL( )
       
   578     {
       
   579 #ifndef RD_30_DISABLE_TOUCH
       
   580     // S60 COMMON
       
   581     MenuBar()->StopDisplayingMenuBar();
       
   582     MenuBar()->TryDisplayContextMenuBarL();
       
   583 #endif //RD_30_DISABLE_TOUCH
       
   584     }
       
   585 
       
   586 // ---------------------------------------------------------
       
   587 // CCAInvitationView::ShowRecipientsListL()
       
   588 // (other items were commented in a header).
       
   589 // ---------------------------------------------------------
       
   590 //
       
   591 TInt CCAInvitationView::ShowRecipientsListL( TInt /*aResourceId*/ )
       
   592     {
       
   593     return KErrNotFound;
       
   594     }
       
   595 
       
   596 //  End of File