wim/SwimReader/src/SwimReaderIF.cpp
branchRCL_3
changeset 5 3b17fc5c9564
parent 0 164170e6151a
equal deleted inserted replaced
1:d5423fbb4f29 5:3b17fc5c9564
     1 /*
     1 /*
     2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2003-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 "Eclipse Public License v1.0"
     5 * under the terms of "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".
   213     _WIMTRACE2(_L("WIM|SwimReader|CSwimReaderIF::Notify|Begin aStatus = %d"), aStatus);
   213     _WIMTRACE2(_L("WIM|SwimReader|CSwimReaderIF::Notify|Begin aStatus = %d"), aStatus);
   214     iNotifyObserver->NotifyCardEvent( aStatus, iID );
   214     iNotifyObserver->NotifyCardEvent( aStatus, iID );
   215     }
   215     }
   216 
   216 
   217 // -----------------------------------------------------------------------------
   217 // -----------------------------------------------------------------------------
   218 // CSwimReaderIF::Open
   218 // CSwimReaderIF::OpenAsync
   219 // Uses CSwimReader::WakeUpL to initialize a connection to the ETEL server.
   219 // Uses CSwimReader::WakeUpL to initialize a connection to the ETEL server.
   220 // -----------------------------------------------------------------------------
   220 // -----------------------------------------------------------------------------
   221 //
   221 //
   222 void CSwimReaderIF::Open( TRequestStatus& aStatus )
   222 void CSwimReaderIF::OpenAsync( TRequestStatus& aStatus )
   223     {
   223     {
   224     _WIMTRACE(_L("WIM|SwimReader|CSwimReaderIF::Open|Begin"));
   224     _WIMTRACE(_L("WIM|SwimReader|CSwimReaderIF::OpenAsync|Begin"));
   225     iClientStatus = &aStatus;
   225     iClientStatus = &aStatus;
   226     aStatus = KRequestPending;
   226     aStatus = KRequestPending;
   227     
   227     
   228 #ifdef _DEBUG        
   228 #ifdef _DEBUG        
   229     RFileLogger::WriteFormat( KSwimReaderLogDir, KSwimReaderLogFileName, 
   229     RFileLogger::WriteFormat( KSwimReaderLogDir, KSwimReaderLogFileName,