--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/vmbx/vmbxengine/inc/vmbxemergencycall.h Tue Aug 31 15:45:17 2010 +0300
@@ -0,0 +1,91 @@
+/*
+* 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: Class for dealing with Emergency Call
+* Interface : Private, CVmbxEmergencyCall
+*
+*/
+
+
+#ifndef C_VMBXEMERGENCYCALL_H
+#define C_VMBXEMERGENCYCALL_H
+
+// INCLUDES
+#include <e32base.h>
+#include <phclttypes.h> // from PhoneClient
+#include <mphcltemergencycallobserver.h>
+
+// CLASS DECLARATION
+
+/**
+* CVmbxEmergencyCall declaration
+*
+* @lib vmbxengine.lib
+*/
+NONSHARABLE_CLASS( CVmbxEmergencyCall ) : public CBase,
+ public MPhCltEmergencyCallObserver
+ {
+ public:
+
+ /**
+ * Two-phased constructor
+ */
+ static CVmbxEmergencyCall* NewL();
+
+ /**
+ * Destructor.
+ */
+ ~CVmbxEmergencyCall();
+
+ /**
+ * Verifies that the given number is not an emergency number.
+ *
+ * @param aNumber Mailbox number
+ * @return ETrue if emergency number
+ */
+ TBool IsEmergencyNumber( const TDesC& aNumber );
+
+private: // New Functions
+
+ /**
+ * C++ default constructor.
+ *
+ */
+ CVmbxEmergencyCall();
+
+ /**
+ * C++ Two-phased constructor.
+ */
+ void ConstructL();
+
+private: // Functions from base classes
+
+ /**
+ * Handle dial request completion.
+ *
+ * @see MPhCltExtPhoneObserver::HandleDialL().
+ *
+ * @param aEntry Reference to store handler
+ */
+ void HandleDialL( const TInt aStatus );
+
+ /**
+ * Handling of emergency dial result.
+ *
+ * @param aEntry Reference to store handler
+ */
+ void HandleEmergencyDialL( const TInt aStatus );
+
+ };
+
+#endif // C_VMBXEMERGENCYCALL_H