ximpfw/presence/srcpresencecache/presencecacheecomhook/presencecacheecomhook.rss
changeset 51 61fad867f68e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ximpfw/presence/srcpresencecache/presencecacheecomhook/presencecacheecomhook.rss	Wed Nov 03 09:32:20 2010 +0530
@@ -0,0 +1,70 @@
+/*
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  ECom registery info for ECom hook
+*
+*/
+
+
+#include <ecom/registryinfov2.rh>
+#include "presencedlluids.hrh"
+#include <presencemanagementifids.hrh>
+
+// ---------------------------------------------------------------------------
+// ECom registery info for XIMP Presence Manager ECom hook
+// ---------------------------------------------------------------------------
+//
+RESOURCE REGISTRY_INFO theInfo
+    {
+    resource_format_version = RESOURCE_FORMAT_VERSION_2;
+    dll_uid = XIMP_DLL_UID_PRESENCE_CACHE_HOOK;
+    
+    // There are two interfaces which are invoking same implementation
+    // but with different uids to invoke different functions of CPresenceCacheClient.
+    interfaces =
+        {
+        // Presence Cache reader interface
+        INTERFACE_INFO
+            {
+            interface_uid = XIMP_ECOM_IF_UID_PRESENCE_CACHE_READER;
+            implementations =
+                {
+                IMPLEMENTATION_INFO
+                    {
+                    implementation_uid = XIMP_ECOM_IMPL_UID_PRESENCE_CACHE_READER;
+                    version_no         = 1;
+                    display_name       = "S60 Default XIMP CacheReader";
+                    default_data       = XIMP_ECOM_DEFAULT_DATA_PRESENCE_INTERFACE;
+                    opaque_data        = "";
+                    }
+                };
+            },
+        // Presence cache writer interface
+        INTERFACE_INFO
+            {
+            interface_uid = XIMP_ECOM_IF_UID_PRESENCE_CACHE_WRITER;
+            implementations =
+                {
+                IMPLEMENTATION_INFO
+                    {
+                    implementation_uid = XIMP_ECOM_IMPL_UID_PRESENCE_CACHE_WRITER;
+                    version_no         = 1;
+                    display_name       = "S60 Default XIMP CacheWriter";
+                    default_data       = XIMP_ECOM_DEFAULT_DATA_PRESENCE_INTERFACE;
+                    opaque_data        = "";
+                    }
+                };
+            }            
+        };
+    }
+