/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Handler ui related.
* Interface : Private, CVmbxUiHandler
*
*/
#ifndef VMBXENGINEQTUI_H
#define VMBXENGINEQTUI_H
#include <voicemailboxdefs.h>
#include "mvmbxuihandler.h"
// FORWARD DECLARATION
class VmbxQtUiHandler;
// CLASS DECLARATION
/**
*
* @lib qvmbxengine.lib
* @since S60 v5.2
*/
NONSHARABLE_CLASS( CVmbxUiHandler ):public CBase,
public MVmbxUiHandler
{
public: // Constructors and destructor
/**
* Two-phased constructor
* @since S60 v5.2
*/
static CVmbxUiHandler* NewL();
/**
* Destructor.
*/
~CVmbxUiHandler();
//From MVmbxUiHandler
/**
* Show mailbox query dialog
* Leaves if user cancel selected.
*
* @since S60 v5.2
* @param aType in TVmbxType type
* @param aMode Tin VmbxQueryMode mode
* @param aNumber the voice mailbox number
* @param aResult out the result of dialog
*/
virtual void ShowVmbxQueryDialog( const TVmbxType& aType,
const TVmbxQueryMode & aMode, TDes& aNumber, TInt& aResult );
/**
* Show define number in selection dialog
*
* @since S60 v5.2
* @param in aType vmbx type
* @param out aResult the result of dialog
*/
virtual void ShowDefineSelectionDialog( TVmbxType& aType, TInt& aResult );
/**
* Show call number in selection dialog
*
* @since S60 v5.2
* @param in aArray array of the defined voice mailbox entry
* @param in aIcons icons of the defined voice mailbox
* @param out aParams the type TVoiceMailboxParams which should include
* the service id and the type of seclected TVmbxType
* @param out aResult the result user seclected
*/
/*virtual void ShowCallSelectionDialogL(
const RPointerArray<CVoiceMailboxEntry>& aArray,
//CArrayPtr<CGulIcon>* aIcons,
TVoiceMailboxParams& aParams, TInt& aResult ) = 0;*/
/**
* Show confirmation dialog when save number to phone
*
* @since S60 v5.2
*/
virtual void ShowSaveToPhoneNote();
/**
* Show confirmation dialog when save number to SIM
*
* @since S60 v5.2
*/
virtual void ShowSaveToSimNote();
/**
* Show confirmation dialog when save video number
*
* @since S60 v5.2
*/
virtual void ShowVideoSavedNote();
/**
* show an error dialog for invalid number
*
* @since S60 v5.2
*/
virtual void ShowInvalidNumberNote();
/**
* show an error dialog for invalid number
*
* @since S60 v5.2
*/
virtual void ShowInvalidWarningNote();
/**
* To get mailbox entry value
* Leaves if Symbian OS error code
*
* @since S60 v5.2
* @param aType TVmbxType type
*/
virtual void ShowSaveEmptyNote( const TVmbxType& aType );
private:
/** C++ default constructor.
*
* @since S60 v5.2
*/
CVmbxUiHandler();
/**
* C++ Two-phased constructor.
* @since S60 v5.2
*/
void ConstructL();
private: // data
/**
* Dialog manage
* Own
*/
VmbxQtUiHandler* iHandler;
};
#endif // VMBXENGINEQTUI_H