vmbx/vmbxengine/inc/mvmbxcenrephandler.h
branchRCL_3
changeset 19 7d48bed6ce0c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vmbx/vmbxengine/inc/mvmbxcenrephandler.h	Tue Aug 31 15:45:17 2010 +0300
@@ -0,0 +1,88 @@
+/*
+* 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:  public VmbxCenrepHandler APIs for internal class
+*  Interface   : Internal, MVmbxCenrepHandler
+*
+*/
+
+
+#ifndef M_VMBXCENREPHANDLER_H
+#define M_VMBXCENREPHANDLER_H
+
+// INCLUDES
+
+// FORWARD DECLARATION
+class CVoiceMailboxEntry;
+
+// CLASS DECLARATION
+
+/**
+ *  MVmbxCenrepHandler
+ *
+ *  @since S60 v5.2
+ *  @lib vmbxengine.lib
+ *
+ */
+NONSHARABLE_CLASS ( MVmbxCenrepHandler )
+    {
+    
+public:
+
+    /**
+     * Get mailbox number from CenRep
+     *
+     * @param in&out aEntry the voice mailbox information data type
+     * @return Symbian OS error code (KErrNone if successful)
+     */
+    virtual TInt GetVmbxNumber( CVoiceMailboxEntry& aEntry ) = 0;
+
+    /**
+     * Saves the mailbox number
+     *
+     * @param in aEntry vmbx number data to save
+     * @return Symbian OS error code (KErrNone if successful)
+     */
+    virtual TInt Save( const CVoiceMailboxEntry& aEntry ) = 0;
+
+    /**
+     * Fetches active store type
+     *
+     * @return aStoreType Active store in use
+     */
+    virtual TVmbxMemoryLocation StoreType() = 0;
+
+    /**
+     * Returns state of the video support
+     *
+     * @return ETrue if supported
+     */
+    virtual TBool VideoSupported() = 0;
+
+    /**
+     * Returns ETrue if CenRep setting Sim read only
+     *
+     * @return ETrue if Sim read only
+     */
+    virtual TBool IsSimReadOnly() = 0;
+
+     /**
+     * Returns ETrue if number allowed to user change
+     *
+     * @return ETrue if from Sim
+     */
+    virtual TBool IsAllowedUserEdit() = 0;
+
+    };
+
+#endif // M_VMBXCENREPHANDLER_H