vmbx/vmbxengine/inc/vmbxenginebase.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
--- a/vmbx/vmbxengine/inc/vmbxenginebase.h	Tue Aug 31 15:45:17 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,147 +0,0 @@
-/*
-* Copyright (c) 2009-2010 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:  Base class for different mailbox entries
-*  Interface   : Private, CVmbxEngineBase
-*
-*/
-
-
-#ifndef C_VMBXENGINEBASE_H
-#define C_VMBXENGINEBASE_H
-
-// INCLUDES
-#include <e32base.h>
-#include <cvoicemailbox.h>
-
-#include "mvmbxresourceprovider.h"
-
-//FORWARD DECLARATIONS
-
-// CLASS DECLARATION
-/**
-*  Implemets mailbox entry base class functionality
-*
-*  @lib vmbxengine.lib
-*/
-NONSHARABLE_CLASS( CVmbxEngineBase ) : public CBase
-    {
-
-public:  // Constructors and destructor
-
-    /**
-     * C++ default constructor.
-     * @param aProvider Reference to CVmbxUiUtilities
-     */
-    CVmbxEngineBase( MVmbxResourceProvider& aProvider );
-
-    /**
-     * Destructor.
-     */
-    virtual ~CVmbxEngineBase();
-
-public: // New functions
-    /**
-     * To get mailbox entry value
-     * Leave if no number got or Symbian OS error code
-     *
-     * @param aEntry Entry data
-     */
-    virtual void GetL( CVoiceMailboxEntry*& aEntry ) = 0;
-
-    /**
-     * To save mailbox entry value
-     * Leave with Symbian OS error code
-     *
-     * @param aEntry Entry data
-     * @param aShowNotesAllowed Provision mode is used to decide whether show
-     *          saved notification UI dialog. If aShowNotesAllowed is EFalse,
-     *          saved notification UI dialog will not show. 
-     */
-    virtual void SaveL( const CVoiceMailboxEntry& aEntry,
-                        TBool aShowNotesAllowed ) = 0;
-
-    /**
-     * To save mailbox Provisioned entry value
-     * Leave with Symbian OS error code
-     *
-     * @param aEntry Provisioned Entry data
-     */
-    virtual void SaveProvisionedEntryL( const CVoiceMailboxEntry& aEntry ) = 0;
-
-    /**
-     * Checks the Voice Mailbox how many VoIP service Ids
-     * Leave with Symbian OS error code
-     *
-     * @param aProfileIds id of voip profile
-     */
-    virtual void GetServiceIdsL( RIdArray& aProfileIds );
-
-    /**
-     * see CVoiceMailbox::GetVmbxImage
-     * 
-     */
-    //virtual CGulIcon* GetVmbxImageL( const TVoiceMailboxParams& aParams );
-
-    /**
-     * Sets the Voice Mailbox current service id.
-     *
-     * @param aVmbxServiceId Voice Mailbox service id.
-     */
-    virtual void SetCurrentServiceId( const TServiceId& aVmbxServiceId );
-
-    /**
-     * Checks the Voice Mailbox configuration to find out if a features
-     * are disabled or enabled.
-     *
-     * @param aParams Specifies which mailbox capabilities,
-     *          the caller wants to check.
-     * @param aFlags Use TVmbxFeatureCapability values for this parameter.
-     *          Specifies what features client wants to check.
-
-     * @return True if feature(s) enabled.
-     */
-    virtual TBool CheckConfiguration( const TVoiceMailboxParams& 
-            aParams, const TInt aFlags );
-    
-    /**
-     * Displays number query dialog
-     * Leave if user don't select or Symbian OS error code
-     *
-     * @param aEntry CVoiceMailboxEntry
-     */
-    virtual void QueryDefineNumberL( CVoiceMailboxEntry& aEntry );
-
-    /**
-     * Displays number query dialog
-     * Leave if user don't select or Symbian OS error code
-     *
-     * @param aEntry Entry data
-     */
-    virtual void QueryChangeNumberL( CVoiceMailboxEntry& aEntry );
-
-
-protected: // data
-
-    /**
-     * Reference to CVmbxUiUtilities
-     */
-    MVmbxResourceProvider& iProvider;
-
-    /**
-     * Mailbox service id.
-     */
-    TServiceId iVmbxServiceId;
-    };
-
-#endif  // C_VMBXENGINEBASE_H