classicui_plat/emergency_call_support_api/inc/AknEcs.h
branchRCL_3
changeset 9 aabf2c525e0f
parent 0 2f259fa3e83a
child 51 fcdfafb36fe7
--- a/classicui_plat/emergency_call_support_api/inc/AknEcs.h	Fri Feb 19 23:04:46 2010 +0200
+++ b/classicui_plat/emergency_call_support_api/inc/AknEcs.h	Fri Mar 12 15:43:43 2010 +0200
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-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"
@@ -38,6 +38,9 @@
 // Maximum length of an emergency number
 const TInt KAknEcsMaxMatchingLength = 6;
 
+// Minimum length of service call number
+const TInt KAknServiceCallMinLength = 3;
+
 // Separator character for the emergency number string
 _LIT( KAknEcsSeparator, " ");
 
@@ -80,7 +83,8 @@
         EPartialMatch, // Not in use.
         ECompleteMatch,
         ECompleteMatchThenSendKey,
-        ECallAttempted
+        ECallAttempted,
+        EServiceNumMatch
         };
 
 public:
@@ -249,6 +253,11 @@
     */
     void AttemptEmergencyCall();
 
+    /**
+    * Wraps up the code that actually initiates the service call
+    */
+    void MakeServiceCallL();
+
 public:
     /**
     * This callback is called by a CIdle object to state that the call has been
@@ -294,7 +303,8 @@
     /** Pointer to emergency call observer object */
     CPhCltEmergencyCallObserver* iEmergencyCallObserver;
     
-    TInt iSpare_2;
+    /** Boolean to check if service call is enabled during device or key lock */
+    TBool iServiceCallEnabled;
     };
 
 //