phoneengine/callhandling/inc/cpegprstermination.h
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phoneengine/callhandling/inc/cpegprstermination.h	Fri Jun 04 10:19:18 2010 +0100
@@ -0,0 +1,80 @@
+/*
+* Copyright (c) 2007 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:  GPRS termination active object definition.
+*
+*/
+
+
+
+#ifndef CPEGPRSTERMINATION_H
+#define CPEGPRSTERMINATION_H
+
+//  INCLUDES
+#include    <e32base.h>
+
+ 
+// CLASS DECLARATION
+
+/**
+* Active object for terminating GPRS connections.
+* @since 4.0
+*/
+class CPEGprsTermination 
+    : public CActive
+    {
+    public: // Constructors and destructor.
+
+        /**
+        * Constructor.
+        */
+        CPEGprsTermination();
+
+        /**
+        * Destructor.
+        */
+        ~CPEGprsTermination();
+
+    public: // New functions
+        
+        /**
+        * Starts termination.
+        */
+        void StartL();
+
+        /**
+        * Checks if it is terminating connections 
+        * (or just preparing for that).
+        * @return ETrue if terminating.
+        */
+        TBool IsTerminating() const;
+
+    private: // Functions from base classes
+
+        /**
+        * @see CActive::RunL.
+        */
+        void RunL();
+
+        /**
+        * @see CActive::DoCancel.
+        */
+        void DoCancel();
+
+    private:
+
+    };
+
+#endif      // CPEGPRSTERMINATION_H   
+            
+// End of File