vmbx/vmbxengine/inc/vmbxuihandler.h
changeset 19 e44a8c097b15
parent 12 ae8abd0db65c
child 27 7eb70891911c
equal deleted inserted replaced
15:d7fc66ccd6fb 19:e44a8c097b15
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    29 // CLASS DECLARATION
    29 // CLASS DECLARATION
    30 
    30 
    31 /**
    31 /**
    32 *
    32 *
    33 *  @lib qvmbxengine.lib
    33 *  @lib qvmbxengine.lib
    34 *  @since  S60 v5.2
       
    35 */
    34 */
    36 NONSHARABLE_CLASS( CVmbxUiHandler ):public CBase,
    35 NONSHARABLE_CLASS( CVmbxUiHandler ):public CBase,
    37                      public MVmbxUiHandler
    36                      public MVmbxUiHandler
    38     {
    37     {
    39 
    38 
    40 public: // Constructors and destructor
    39 public: // Constructors and destructor
    41     /**
    40     /**
    42      * Two-phased constructor
    41      * Two-phased constructor
    43      * @since S60 v5.2
       
    44      */
    42      */
    45     static CVmbxUiHandler* NewL();
    43     static CVmbxUiHandler* NewL();
    46 
    44 
    47     /**
    45     /**
    48     * Destructor.
    46     * Destructor.
    53 
    51 
    54     /**
    52     /**
    55      * Show mailbox query dialog
    53      * Show mailbox query dialog
    56      * Leaves if user cancel selected.
    54      * Leaves if user cancel selected.
    57      *
    55      *
    58      * @since S60 v5.2
       
    59      * @param aType in TVmbxType type
    56      * @param aType in TVmbxType type
    60      * @param aMode Tin VmbxQueryMode mode
       
    61      * @param aNumber the voice mailbox number
    57      * @param aNumber the voice mailbox number
    62      * @param aResult out the result of dialog
    58      * @param aResult out the result of dialog
    63      */
    59      */
    64     virtual void ShowVmbxQueryDialog( const TVmbxType& aType,
    60     virtual void ShowVmbxQueryDialog( const TVmbxType& aType,
    65         const TVmbxQueryMode & aMode, TDes& aNumber, TInt& aResult );
    61         TDes& aNumber, TInt& aResult );
    66 
    62 
    67     /**
    63     /**
    68      * Show define number in selection dialog
    64      * Show define number in selection dialog
    69      *
    65      *
    70      * @since S60 v5.2
       
    71      * @param in aType vmbx type
    66      * @param in aType vmbx type
    72      * @param out aResult the result of dialog
    67      * @param out aResult the result of dialog
    73      */
    68      */
    74     virtual void ShowDefineSelectionDialog( TVmbxType& aType, TInt& aResult );
    69     virtual void ShowDefineSelectionDialog( TVmbxType& aType, TInt& aResult );
    75 
    70 
    76     /**
    71     /**
    77      * Show call number in selection dialog
    72      * Show call number in selection dialog
       
    73      * Leave if aArray < 1
    78      *
    74      *
    79      * @since S60 v5.2
       
    80      * @param in aArray array of the defined voice mailbox entry
    75      * @param in aArray array of the defined voice mailbox entry
    81      * @param in aIcons icons of the defined voice mailbox
    76      * @param in aIcons icons of the defined voice mailbox
    82      * @param out aParams the type TVoiceMailboxParams which should include
    77      * @param out aParams the type TVoiceMailboxParams which should include
    83      *          the service id and the type of seclected TVmbxType
    78      *          the service id and the type of seclected TVmbxType
    84      * @param out aResult the result user seclected
    79      * @param out aResult the result user seclected
    85      */
    80      */
    86     /*virtual void ShowCallSelectionDialogL(
    81     virtual void ShowCallSelectionDialogL(
    87                 const RPointerArray<CVoiceMailboxEntry>& aArray,
    82                 const RPointerArray<CVoiceMailboxEntry>& aArray,
    88                 //CArrayPtr<CGulIcon>* aIcons,
    83                 //CArrayPtr<CGulIcon>* aIcons,
    89                 TVoiceMailboxParams& aParams, TInt& aResult ) = 0;*/
    84                 TVoiceMailboxParams& aParams, TInt& aResult );
    90 
    85 
    91     /**
    86     /**
    92      * Show confirmation dialog when save number to phone
    87      * Show informationd note
    93      *
    88      *
    94      * @since S60 v5.2
    89      * @param aType in TVmbxNoteType type
    95      */
    90      */
    96     virtual void ShowSaveToPhoneNote();
    91     virtual void ShowInformationdNoteL(const TVmbxNoteType aType);
    97 
       
    98     /**
       
    99      * Show confirmation dialog when save number to SIM
       
   100      *
       
   101      * @since S60 v5.2
       
   102      */
       
   103     virtual void ShowSaveToSimNote();
       
   104 
       
   105     /**
       
   106      * Show confirmation dialog when save video number
       
   107      *
       
   108      * @since S60 v5.2
       
   109      */
       
   110     virtual void ShowVideoSavedNote();
       
   111 
    92 
   112     /**
    93     /**
   113      * show an error dialog for invalid number
    94      * show an error dialog for invalid number
   114      *
    95      *
   115      * @since S60 v5.2
       
   116      */
    96      */
   117     virtual void ShowInvalidNumberNote();
    97     virtual void ShowInvalidWarningNoteL();
   118 
       
   119     /**
       
   120      * show an error dialog for invalid number
       
   121      *
       
   122      * @since S60 v5.2
       
   123      */
       
   124     virtual void ShowInvalidWarningNote();
       
   125 
       
   126     /**
       
   127      * To get mailbox entry value
       
   128      * Leaves if Symbian OS error code
       
   129      *
       
   130      * @since S60 v5.2
       
   131      * @param aType TVmbxType type
       
   132      */
       
   133      virtual void ShowSaveEmptyNote( const TVmbxType& aType );
       
   134 
    98 
   135 private:
    99 private:
   136 
   100 
   137     /** C++ default constructor.
   101     /** C++ default constructor.
   138     *
   102     *
   139     * @since S60 v5.2
       
   140     */
   103     */
   141     CVmbxUiHandler();
   104     CVmbxUiHandler();
   142 
   105 
   143     /**
   106     /**
   144      * C++  Two-phased constructor.
   107      * C++  Two-phased constructor.
   145      * @since S60 v5.2
       
   146      */
   108      */
   147     void ConstructL();
   109     void ConstructL();
   148 
   110 
   149 private:  // data
   111 private:  // data
   150 
   112