wlanutilities/wlansniffer/aihelper/src/wsfaihelperdocument.cpp
branchRCL_3
changeset 12 981afc7d3841
parent 0 56b72877c1cb
equal deleted inserted replaced
11:8b0eae1b1d71 12:981afc7d3841
   103                                              RFs &/*aFs*/ )
   103                                              RFs &/*aFs*/ )
   104     {
   104     {
   105     // Read the afilename arg
   105     // Read the afilename arg
   106     // Take that into a TWlanInfo and start creation of accesspoint
   106     // Take that into a TWlanInfo and start creation of accesspoint
   107     TPckgBuf<TWsfWlanInfo> info;
   107     TPckgBuf<TWsfWlanInfo> info;
   108     TPckgBuf<TBool> connecting;
   108 
   109     TPckgBuf<TBool> connectOnly;
       
   110     info.Copy( aFilename.Left( sizeof( TWsfWlanInfo ) ) );
   109     info.Copy( aFilename.Left( sizeof( TWsfWlanInfo ) ) );
   111     connecting.Copy( aFilename.Mid( sizeof( TWsfWlanInfo ), sizeof( TBool ) ) );
       
   112     connectOnly.Copy( aFilename.Right( sizeof( TBool ) ) );
       
   113     
   110     
   114     iWlanInfo = info();
   111     iWlanInfo = info();
   115     iUseDefaultConnection = connecting();
   112     
   116     iConnectOnly = connectOnly();
       
   117     static_cast<CWsfAiHelperAppUi*>( iAppUi )->NotifyFileName();
   113     static_cast<CWsfAiHelperAppUi*>( iAppUi )->NotifyFileName();
   118 
   114 
   119     return NULL;
   115     return NULL;
   120     }
   116     }
   121 
   117