vmbx/vmbxengine/inc/vmbxuiutilities.h
changeset 27 7eb70891911c
parent 19 e44a8c097b15
equal deleted inserted replaced
23:427125ac6cb8 27:7eb70891911c
    32 // CLASS DECLARATION
    32 // CLASS DECLARATION
    33 /**
    33 /**
    34 *  Implementation of the auxiliary methods for the VMBX engine classes
    34 *  Implementation of the auxiliary methods for the VMBX engine classes
    35 *
    35 *
    36 *  @lib vmbxengine.lib
    36 *  @lib vmbxengine.lib
    37 *  @since S60 v5.2
       
    38 */
    37 */
    39 NONSHARABLE_CLASS( CVmbxUiUtilities ): public CBase,
    38 NONSHARABLE_CLASS( CVmbxUiUtilities ): public CBase,
    40                                        public MVmbxUiUtilities
    39                                        public MVmbxUiUtilities
    41     {
    40     {
    42 
    41 
    53     ~CVmbxUiUtilities();
    52     ~CVmbxUiUtilities();
    54 
    53 
    55     /**
    54     /**
    56      * Show mailbox query
    55      * Show mailbox query
    57      *
    56      *
    58      * @since S60 v5.2
       
    59      * @param in aType TVmbxType type
    57      * @param in aType TVmbxType type
    60      * @param in aMode TVmbxQueryMode mode
    58      * @param in aMode TVmbxQueryMode mode
    61      * @param out aNumber the voice mailbox number
    59      * @param out aNumber the voice mailbox number
    62      */
    60      */
    63     void ShowQueryL( const TVmbxType& aType,
    61     void ShowQueryL( const TVmbxType& aType,
    64                     const TVmbxQueryMode& aMode,
    62                     const TVmbxQueryMode& aMode,
    65                     TDes& aNumber );
    63                     TDes& aNumber );
    66 
    64 
    67     /**
    65     /**
    68      * Show mailbox query dialog
       
    69      * Leaves if user cancel selected.
       
    70      *
       
    71      * @param aType in TVmbxType type
       
    72      * @param aMode Tin VmbxQueryMode mode
       
    73      * @param aNumber the voice mailbox number
       
    74      * @param aResult out the result of dialog
       
    75      */
       
    76     void ShowQueryDialogL( const TVmbxType& aType,
       
    77         const TVmbxQueryMode & aMode, TDes& aNumber, TInt& aResult );
       
    78 
       
    79     /**
       
    80      * Show informationd note
    66      * Show informationd note
    81      *
    67      *
    82      * @param aType in TVmbxNoteType type
    68      * @param aType in TVmbxNoteType type
    83      */
    69      */
    84     void ShowInformationdNoteL(const TVmbxNoteType aType);
    70     void ShowInformationdNoteL(const TVmbxNoteType aType);
    85  
    71  
    86 
       
    87     /**
    72     /**
    88      * Show define number in selection dialog
    73      * Show define number in selection dialog
    89      * Leaves if user cancel selected.
    74      * Leaves if user cancel selected.
    90      *
    75      *
    91      * @param in aType vmbx type
    76      * @param in aType vmbx type
    92      * @param out aResult the result of dialog
    77      * @param out aResult the result of dialog
    93      */
    78      */
    94     void ShowDefineSelectionDialog( TVmbxType& aType, TInt& aResult );
    79     void ShowDefineSelectionDialogL( TVmbxType& aType, TInt& aResult );
    95 
    80 
    96     /**
    81     /**
    97      * Show call number in selection dialog
    82      * Show call number in selection dialog
    98      * Leaves if user cancel selected.
    83      * Leaves if user cancel selected.
    99      *
    84      *
   105      */
    90      */
   106     void ShowCallSelectionDialogL(
    91     void ShowCallSelectionDialogL(
   107                 const RPointerArray<CVoiceMailboxEntry>& aArray,
    92                 const RPointerArray<CVoiceMailboxEntry>& aArray,
   108                 //CArrayPtr<CGulIcon>* aIcons,
    93                 //CArrayPtr<CGulIcon>* aIcons,
   109                 TVoiceMailboxParams& aParams, TInt& aResult );
    94                 TVoiceMailboxParams& aParams, TInt& aResult );
   110 
       
   111     /**
       
   112      * Tries to close all open dialogs
       
   113      *
       
   114      */
       
   115     void DismissDialogL();
       
   116 
       
   117 
    95 
   118     /**
    96     /**
   119      * Get Mailbox type default image.
    97      * Get Mailbox type default image.
   120      * If get unseccessful, Leaves with Symbian OS error code
    98      * If get unseccessful, Leaves with Symbian OS error code
   121      *
    99      *
   134      * Show invalid or warning dialog
   112      * Show invalid or warning dialog
   135      *
   113      *
   136      */
   114      */
   137     void ShowInvalidWarningDialogL();
   115     void ShowInvalidWarningDialogL();
   138 
   116 
       
   117      /**
       
   118      * Tries to close all open dialogs
       
   119      *
       
   120      */
       
   121     void DismissDialogL();   
   139 
   122 
   140 private: // data
   123 private: // data
   141 
   124 
   142     /**
   125     /**
   143      * C++ default constructor.
   126      * C++ default constructor.
   147     /**
   130     /**
   148      * C++  Two-phased constructor.
   131      * C++  Two-phased constructor.
   149      */
   132      */
   150     void ConstructL();
   133     void ConstructL();
   151 
   134 
       
   135     /**
       
   136      * Show mailbox query dialog
       
   137      * Leaves if user cancel selected.
       
   138      *
       
   139      * @param aType in TVmbxType type
       
   140      * @param aMode Tin VmbxQueryMode mode
       
   141      * @param aNumber the voice mailbox number
       
   142      * @param aResult out the result of dialog
       
   143      */
       
   144     void ShowQueryDialogL( const TVmbxType& aType,
       
   145         const TVmbxQueryMode & aMode, TDes& aNumber, TInt& aResult );
   152 
   146 
   153     /**
   147     /**
   154     * Open phonebook's Single Fetch Dialog
   148     * Open phonebook's Single Fetch Dialog
   155     * @since S60 v5.2
       
   156     * @param aPhoneNumber Phone number
   149     * @param aPhoneNumber Phone number
   157     */
   150     */
   158     void FetchNumberFromPhonebook2L( TDes& aPhoneNumber );
   151     void FetchNumberFromPhonebook2L( TDes& aPhoneNumber );
   159 
   152 
   160 private:
   153 private: