eapol/eapol_framework/eapol_symbian/am/include/eap_am_async_wait_symbian.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eapol/eapol_framework/eapol_symbian/am/include/eap_am_async_wait_symbian.h	Thu Dec 17 08:47:43 2009 +0200
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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:  EAP and WLAN authentication protocols.
+*
+*/
+
+
+#ifndef _EAP_AM_ASYNC_WAIT_SYMBIAN_H_
+#define _EAP_AM_ASYNC_WAIT_SYMBIAN_H_
+
+
+/**
+ * eap_am_async_wait_symbian_c class
+ */
+ 
+class eap_am_async_wait_symbian_c : public CActive
+    {
+    public: 
+
+        /**
+        * C++ default constructor.
+        */
+        eap_am_async_wait_symbian_c();
+        
+        /**
+        * Destructor.
+        */    
+        ~eap_am_async_wait_symbian_c() ;
+
+    public: 
+
+        /**
+        * Nested scheduler loop
+        */
+        void Wait() ;
+
+    private: // CActive
+
+        void RunL();
+        void DoCancel();
+
+
+    private: // data
+
+        CActiveSchedulerWait iActiveWait ; // nested loop for active scheduler
+} ;
+
+#endif // _EAP_AM_ASYNC_WAIT_SYMBIAN_H_