equal
deleted
inserted
replaced
365 MPX_DEBUG2("CMPXPlaybackUtility::CommandL(): cmdType = %d", cmdType); |
365 MPX_DEBUG2("CMPXPlaybackUtility::CommandL(): cmdType = %d", cmdType); |
366 if ( EPbCmdPlay == cmdType || |
366 if ( EPbCmdPlay == cmdType || |
367 EPbCmdPlayPause == cmdType || |
367 EPbCmdPlayPause == cmdType || |
368 EPbCmdStop == cmdType) |
368 EPbCmdStop == cmdType) |
369 { |
369 { |
370 if( !aCmd.IsSupported( KMPXCommandPlaybackGeneralClientPid ) ) |
370 aCmd.SetTObjectValueL<TProcessId>(KMPXCommandPlaybackGeneralClientPid, |
371 { |
371 RProcess().Id()); // current process id |
372 aCmd.SetTObjectValueL<TProcessId> ( |
|
373 KMPXCommandPlaybackGeneralClientPid, RProcess().Id()); // current process id |
|
374 } |
|
375 } |
372 } |
376 } |
373 } |
377 |
374 |
378 TBool asyncVar(ETrue); // by default command is asynchronous |
375 TBool asyncVar(ETrue); // by default command is asynchronous |
379 if (aCmd.IsSupported(KMPXCommandGeneralDoSync)) |
376 if (aCmd.IsSupported(KMPXCommandGeneralDoSync)) |
1335 return file; |
1332 return file; |
1336 } |
1333 } |
1337 |
1334 |
1338 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
1335 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
1339 |
1336 |
|
1337 // ---------------------------------------------------------------------------- |
|
1338 // Set primary client |
|
1339 // ---------------------------------------------------------------------------- |
|
1340 // |
|
1341 TInt CMPXPlaybackUtility::SetPrimaryClientL() |
|
1342 { |
|
1343 MPX_FUNC("CMPXPlaybackUtility::SetPrimaryClientL"); |
|
1344 return iPbs.SendReceiveL(EPbsSetPrimaryClient); |
|
1345 } |
1340 // End of file |
1346 // End of file |