uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp
changeset 19 f5bac0badc7e
parent 14 83d2d132aa58
child 25 f7f1ae431f74
--- a/uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp	Fri Apr 16 15:56:24 2010 +0300
+++ b/uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp	Mon May 03 13:22:43 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
 // ---------------------------------------------------------------------------
 //