--- a/ccservices/cmsservices/cmsengine/Server/inc/cmsserver.h Tue May 25 12:26:45 2010 +0300
+++ b/ccservices/cmsservices/cmsengine/Server/inc/cmsserver.h Wed Jun 09 09:26:27 2010 +0300
@@ -32,6 +32,7 @@
class CCmsServerSession;
class CCmsServerContact;
class CCmsPhonebookProxy;
+class CRCSEProfileRegistry;
/**
* CCmsScheduler is used instead of default active scheduler to
@@ -117,6 +118,14 @@
*/
RFs& FileSession();
+ /**
+ * Return a reference to RCSE Profile registry.
+ * Uses lazy initialization
+ *
+ * @return RCSE Profile Registry instance
+ */
+ CRCSEProfileRegistry& RCSEProfileRegistryL();
+
public: //static
/**
@@ -140,6 +149,11 @@
/// Phonebook proxy which is responsible for common phonebook
/// operations. Available for all CMS sessions. Owned.
CCmsPhonebookProxy* iPhonebookProxy;
+
+ /// Owned. Shared RCSE Profile registry instance for all sessions.
+ /// Constructing this instance is slow and therefore it's kept
+ /// in server where it can be quickly aquired.
+ CRCSEProfileRegistry* iRCSEProfileRegistry;
};
#endif