diff -r 88b23e2e82e1 -r 46927d61fef3 uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp --- a/uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp Wed Mar 31 23:03:58 2010 +0300 +++ b/uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp Wed Apr 14 16:53:50 2010 +0300 @@ -147,13 +147,12 @@ SendReceive(aOp, aIPCArgs, aStatus ); } - -EXPORT_C TInt RAlfBridgerClient::GetListOfInactiveWindowGroupsWSurfaces(RArray* aWindowGroups) +TInt RAlfBridgerClient::GetListOfWindowGroups(RArray* aWindowGroups, TBool aListAll) { TInt err = KErrNone; TInt array[10]; TPtr8 ptr((TUint8*)array,0,40); - err = SendReceive(EAlfGetListOfWGsHavingInactiveSurfaces, TIpcArgs(&ptr)); + err = SendReceive(EAlfGetListOfWGsHavingInactiveSurfaces, TIpcArgs(&ptr, aListAll)); if (!err) { for(TInt i = 0; i < 10; i++) @@ -171,6 +170,28 @@ return err; } +EXPORT_C TInt RAlfBridgerClient::GetListOfInactiveWindowGroupsWSurfaces(RArray* aWindowGroups) + { + return GetListOfWindowGroups(aWindowGroups, EFalse); + } + +EXPORT_C TInt RAlfBridgerClient::GetListOfWindowGroupsWSurfaces(RArray* aWindowGroups) + { + return GetListOfWindowGroups(aWindowGroups, ETrue); + } + + + +// --------------------------------------------------------------------------- +// EffectsCount +// --------------------------------------------------------------------------- +// +EXPORT_C TInt RAlfBridgerClient::EffectsCount() + { + return SendReceive(EAlfGetNumberOfActiveEffects, TIpcArgs()); + } + + // Open // --------------------------------------------------------------------------- //