phoneapp/phoneuistates/inc/cphonestartup.h
changeset 0 5f000ab63145
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phoneapp/phoneuistates/inc/cphonestartup.h	Mon Jan 18 20:18:27 2010 +0200
@@ -0,0 +1,81 @@
+/*
+* Copyright (c) 2006 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: 
+*     GSM-specific start up state implementation.
+*
+*/
+
+
+#ifndef CPHONESTARTUP_H
+#define CPHONESTARTUP_H
+
+// INCLUDES
+#include "cphonestatestartup.h"
+
+// FORWARD DECLARATIONS
+
+// CLASS DECLARATION
+/**
+*  GSM-specific start up state implementation.
+*/
+class CPhoneStartup : public CPhoneStateStartup
+    {
+    public:  
+
+        /**
+        * Destructor.
+        */
+        virtual ~CPhoneStartup();
+        
+        /**
+        * Creates the Start up state class
+        * @param aStateMachine: a state machine
+        * @param aViewCommandHandle: handle to the PhoneUIView
+        * @param aPEReady: true if Phone Engine already started
+        * @return an instance of class CPhoneEmergency
+        */
+        static CPhoneStartup* NewL( 
+            MPhoneStateMachine* aStateMachine, 
+            MPhoneViewCommandHandle* aViewCommandHandle,
+            TBool aPEReady );
+
+        /**
+        * A message handling function for Phone Engine messages
+        * @param aMessage Message from Phone Engine
+        * @param aCallId Call id the message concerns
+        */
+        void HandlePhoneEngineMessageL(
+            const TInt aMessage, 
+            TInt aCallId );    
+                        
+    protected:
+
+        /**
+        * By default EPOC constructor is private.
+        */
+        CPhoneStartup( 
+            MPhoneStateMachine* aStateMachine, 
+            MPhoneViewCommandHandle* aViewCommandHandle,
+            TBool aPEReady );
+                    
+        /**
+        * ConstructL()
+        */
+        virtual void ConstructL();
+        
+    };
+
+#endif // CPHONESTARTUP_H
+
+// End of File