locationmanager/server/src/clocationmanagersession.cpp
changeset 1 acef663c1218
parent 0 c53acadfccc6
child 17 50de4d668bb6
equal deleted inserted replaced
0:c53acadfccc6 1:acef663c1218
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 #include <e32debug.h>
    18 #include <e32debug.h>
    19 #include <s32mem.h>
    19 #include <s32mem.h>
    20 #include <LbsSatellite.h> 
    20 #include <lbssatellite.h> 
    21 #include <locationdatatype.h>
    21 #include <locationdatatype.h>
    22 #include <locationeventdef.h>
    22 #include <locationeventdef.h>
    23 
    23 
    24 #include "clocationmanagerserver.h"
    24 #include "clocationmanagerserver.h"
    25 #include "clocationmanagersession.h"
    25 #include "clocationmanagersession.h"
    86 void CLocationManagerSession::ServiceL( const RMessage2& aMessage )
    86 void CLocationManagerSession::ServiceL( const RMessage2& aMessage )
    87     {
    87     {
    88     LOG( "CLocationManagerSession::ServiceL" );
    88     LOG( "CLocationManagerSession::ServiceL" );
    89     _LIT( KSemaphore, "LocManSynchSemaphore" );
    89     _LIT( KSemaphore, "LocManSynchSemaphore" );
    90     RSemaphore semaphore;
    90     RSemaphore semaphore;
    91     TInt result = semaphore.OpenGlobal( KSemaphore );
    91     const TInt result = semaphore.OpenGlobal( KSemaphore );
    92     LOG1( "CLocationManagerSession::ServiceL - semaphore open result: %d", result );
    92     LOG1( "CLocationManagerSession::ServiceL - semaphore open result: %d", result );
    93     iMessage = RMessage2( aMessage );
    93     iMessage = RMessage2( aMessage );
    94     if ( result == KErrNone )
    94     if ( result == KErrNone )
    95     	{
    95     	{
    96     	semaphore.Signal();
    96     	semaphore.Signal();