vmbx/vmbxengine/inc/mvmbxuihandler.h
branchRCL_3
changeset 19 7d48bed6ce0c
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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:  
       
    15 *  Interface   : Internal, MVmbxUiHandler
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef M_MVMBXUIHANDLER_H
       
    21 #define M_MVMBXUIHANDLER_H
       
    22 
       
    23 // INCLUDES
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  *  MVmbxUiHandler
       
    32  *
       
    33  *  @lib vmbxengine.lib
       
    34  *
       
    35  */
       
    36 NONSHARABLE_CLASS ( MVmbxUiHandler )
       
    37     {
       
    38 
       
    39 public:
       
    40 
       
    41     /**
       
    42      * Show mailbox query dialog
       
    43      *
       
    44      * @param aType in TVmbxType type
       
    45      * @param aNumber the voice mailbox number
       
    46      * @param aResult out the result of dialog
       
    47      */
       
    48     virtual void ShowVmbxQueryDialogL( const TVmbxType& aType,
       
    49         TDes& aNumber, TInt& aResult )= 0;
       
    50 
       
    51 
       
    52     /**
       
    53      * Show define number in selection dialog
       
    54      *
       
    55      * @param in aType vmbx type
       
    56      * @param out aResult the result of dialog
       
    57      */
       
    58     virtual void ShowDefineSelectionDialogL( 
       
    59         TVmbxType& aType, TInt& aResult ) = 0;
       
    60 
       
    61     /**
       
    62      * Show call number in selection dialog
       
    63      * Leave if aArray < 1
       
    64      *
       
    65      * @param in aArray array of the defined voice mailbox entry
       
    66      * @param out aParams the type TVoiceMailboxParams which should include
       
    67      *          the service id and the type of seclected TVmbxType
       
    68      * @param out aResult the result user seclected
       
    69      */
       
    70     virtual void ShowCallSelectionDialogL(
       
    71                 const RPointerArray<CVoiceMailboxEntry>& aArray,
       
    72                 TVoiceMailboxParams& aParams, TInt& aResult ) = 0;
       
    73 
       
    74     /**
       
    75      * show an error dialog for invalid number
       
    76      *
       
    77      */
       
    78     virtual void ShowInvalidWarningNoteL() = 0;
       
    79 
       
    80     };
       
    81 
       
    82 #endif // M_MVMBXUIHANDLER_H