wlanutilities/wlansniffer/aiplugin/inc/wsfactivewrappers.h
branchRCL_3
changeset 18 981afc7d3841
parent 15 dff6ebfd236f
child 44 a9524956f6b5
equal deleted inserted replaced
16:8b0eae1b1d71 18:981afc7d3841
    32 //  FORWARD DECLARATIONS
    32 //  FORWARD DECLARATIONS
    33 class CWsfWLANListActiveWrapper;
    33 class CWsfWLANListActiveWrapper;
    34 class CWsfRefreshScanActiveWrapper;
    34 class CWsfRefreshScanActiveWrapper;
    35 class CWsfDisconnectActiveWrapper;
    35 class CWsfDisconnectActiveWrapper;
    36 class CWsfConnectActiveWrapper;
    36 class CWsfConnectActiveWrapper;
       
    37 class CWsfLaunchAiHelperActiveWrapper;
    37 
    38 
    38 // CLASS DECLARATION
    39 // CLASS DECLARATION
    39 
    40 
    40 /**
    41 /**
    41  *  Active object helper class that capsulates active wrapper classes
    42  *  Active object helper class that capsulates active wrapper classes
    57 
    58 
    58     /**
    59     /**
    59      * Two-phased constructor.
    60      * Two-phased constructor.
    60      * @since S60 5.2  
    61      * @since S60 5.2  
    61      */
    62      */
    62     static CWsfActiveWrappers* NewL(CWsfModel* aModel,
    63     static CWsfActiveWrappers* NewL( CWsfModel* aModel,
    63             TWsfAiController &aController);
    64             TWsfAiController &aController );
    64 
    65 
    65     /**
    66     /**
    66      * Two-phased constructor.
    67      * Two-phased constructor.
    67      * @since S60 5.2 
    68      * @since S60 5.2 
    68      */
    69      */
    69     static CWsfActiveWrappers* NewLC(CWsfModel* aModel,
    70     static CWsfActiveWrappers* NewLC(CWsfModel* aModel,
    70             TWsfAiController &aController);
    71             TWsfAiController &aController );
    71 
    72 
    72 public:
    73 public:
    73 
    74 
    74     /**
    75     /**
    75      * Starts disconnecting 
    76      * Starts disconnecting 
    79 
    80 
    80     /**
    81     /**
    81      * Starts connecting
    82      * Starts connecting
    82      * @since S60 5.2     
    83      * @since S60 5.2     
    83      */
    84      */
    84     void Connect(TUint aIapID, TWsfIapPersistence aPersistence);
    85     void Connect( TUint aIapID, TWsfIapPersistence aPersistence );
    85 
    86 
    86     /**
    87     /**
    87      * Starts refresh scan
    88      * Starts refresh scan
    88      * @since S60 5.2     
    89      * @since S60 5.2     
    89      */
    90      */
    93      * Starts wlan list refreshing
    94      * Starts wlan list refreshing
    94      * @since S60 5.2   
    95      * @since S60 5.2   
    95      * @param aStarUp is this called called from plugin start up   
    96      * @param aStarUp is this called called from plugin start up   
    96      */
    97      */
    97     void RefreshWLANList( TBool aStarUp );
    98     void RefreshWLANList( TBool aStarUp );
       
    99     
       
   100     /**
       
   101      * Starts launching of ai helper 
       
   102      * @since S60 5.2   
       
   103      * @param aWlanInfo The WlanInfo object to be passed to the helper app
       
   104      * @param aConnectOnly ETrue if we are only connecting, 
       
   105      *                     EFalse if we should also launch the browser  
       
   106      * @param aTestAccessPoint ETrue if ICT is executed, 
       
   107      *                         EFalse if ICT is not executed 
       
   108      */
       
   109     void LaunchHelperApplicationL( TWsfWlanInfo& aInfo, TBool aConnectOnly, 
       
   110                                    TBool aTestAccessPoint );
    98 
   111 
    99     /**
   112     /**
   100      * Returns the list of found WLANs. 
   113      * Returns the list of found WLANs. 
   101      * Ownership not passed.
   114      * Ownership not passed.
   102      * @since S60 5.2
   115      * @since S60 5.2
   148      * Pointer to CWsfConnectActiveWrapper
   161      * Pointer to CWsfConnectActiveWrapper
   149      * Own.
   162      * Own.
   150      */
   163      */
   151     CWsfConnectActiveWrapper* iConnectActiveWrapper;
   164     CWsfConnectActiveWrapper* iConnectActiveWrapper;
   152 
   165 
       
   166     /**
       
   167      * Pointer to CWsfLaunchAiHelperActiveWrapper
       
   168      * Own.
       
   169      */
       
   170     CWsfLaunchAiHelperActiveWrapper* iLaunchAiHelperActiveWrapper;
       
   171 
   153     };
   172     };
   154 
   173 
   155 #endif // WSFACTIVEWRAPPERS_H
   174 #endif // WSFACTIVEWRAPPERS_H