wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlanbgscanawscomms.h
branchRCL_3
changeset 6 e0f767079796
parent 3 6524e815f76f
equal deleted inserted replaced
5:51a71243e562 6:e0f767079796
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    14 * Description:  Class implementing WLAN BgScan AWS communications
    14 * Description:  Class implementing WLAN BgScan AWS communications
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 2 %
    19 * %version: 3 %
    20 */
    20 */
    21 
    21 
    22 #ifndef WLANBGSCANAWSCOMMS_H
    22 #ifndef WLANBGSCANAWSCOMMS_H
    23 #define WLANBGSCANAWSCOMMS_H
    23 #define WLANBGSCANAWSCOMMS_H
    24 
    24 
    82      *
    82      *
    83      * @param aMessage Message to be sent
    83      * @param aMessage Message to be sent
    84      * @since S60 v5.2
    84      * @since S60 v5.2
    85      */
    85      */
    86     void SendOrQueueAwsCommand( TAwsMessage& aMessage );
    86     void SendOrQueueAwsCommand( TAwsMessage& aMessage );
    87     
    87         
    88     /**
       
    89      * Blocks calling thread until AWS is constructed.
       
    90      *
       
    91      * @since S60 v5.2
       
    92      */
       
    93     //void WaitForAwsStartupToComplete();
       
    94     
       
    95 private: // From CActive
    88 private: // From CActive
    96     
    89     
    97     /**
    90     /**
    98      * Handles an active object's request completion event.
    91      * Handles an active object's request completion event.
    99      */
    92      */
   129     
   122     
   130     /**
   123     /**
   131      * Clean-up ECOM array
   124      * Clean-up ECOM array
   132      *
   125      *
   133      * @since S60 v5.2
   126      * @since S60 v5.2
   134      * @param aArray ECOM objec array
   127      * @param aArray ECOM object array
   135      */
   128      */
   136     static void CleanupEComArray(TAny* aArray);
   129     static void CleanupEComArray(TAny* aArray);
   137         
   130         
   138     /**
   131     /**
   139      * Start AWS in it's own thread.
   132      * Start AWS in it's own thread.
   202      * If AWS instantiation was successful.
   195      * If AWS instantiation was successful.
   203      */
   196      */
   204     TBool iAwsOk;
   197     TBool iAwsOk;
   205     
   198     
   206     /**
   199     /**
   207      * Synchronization object between WLAN Engine and AWS threads.
       
   208      */
       
   209     //RSemaphore iStartupLock;
       
   210     
       
   211     /**
       
   212      * Handle to WLAN Engine thread.
   200      * Handle to WLAN Engine thread.
   213      */
   201      */
   214     RThread iWlanEngineThread;
   202     RThread iWlanEngineThread;
   215         
   203         
   216     };
   204     };