uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp
branchRCL_3
changeset 11 46927d61fef3
parent 8 10534483575f
child 24 f93c875b566e
--- 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<TInt>* aWindowGroups)
+TInt RAlfBridgerClient::GetListOfWindowGroups(RArray<TInt>* 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<TInt>* aWindowGroups)
+    {
+    return GetListOfWindowGroups(aWindowGroups, EFalse);
+    }
+
+EXPORT_C TInt RAlfBridgerClient::GetListOfWindowGroupsWSurfaces(RArray<TInt>* aWindowGroups)
+    {
+    return GetListOfWindowGroups(aWindowGroups, ETrue);
+    }
+
+
+
+// ---------------------------------------------------------------------------
+// EffectsCount
+// ---------------------------------------------------------------------------
+//
+EXPORT_C TInt RAlfBridgerClient::EffectsCount()
+    {
+    return SendReceive(EAlfGetNumberOfActiveEffects, TIpcArgs());
+    }
+
+
 // Open
 // ---------------------------------------------------------------------------
 //