diff -r a5a39a295112 -r 8baec10861af contentpublishingsrv/contentpublishingutils/pluginvalidator/inc/cpluginvalidator.h --- a/contentpublishingsrv/contentpublishingutils/pluginvalidator/inc/cpluginvalidator.h Wed Sep 01 12:22:09 2010 +0100 +++ b/contentpublishingsrv/contentpublishingutils/pluginvalidator/inc/cpluginvalidator.h Tue Sep 14 21:55:16 2010 +0300 @@ -11,7 +11,7 @@ * * Contributors: * -* Description: +* Description: * */ @@ -30,23 +30,23 @@ /** * Class containing information regarding a plugin * - * + * * @lib cpclient.dll * @since S60 v 5.0 */ NONSHARABLE_CLASS( TPluginInfo ) - { + { public: - TAny* iPlugin; // not own - TUid iImplementationUid; - TInt iVersion; - TUid iDtor_ID_Key; - }; + TAny* iPlugin; // not own + TUid iImplementationUid; + TInt iVersion; + TUid iDtor_ID_Key; + }; /** * Class used to maintain required ECOM plugins implementations * - * + * * @lib cpclient.dll * @since S60 v 5.0 */ @@ -56,15 +56,15 @@ /** * Two-phased constructor. - * - */ - IMPORT_C static CPluginValidator* NewL( TUid aUid, + * + */ + IMPORT_C static CPluginValidator* NewL( TUid aUid, TAny *aParameter = NULL ); /** * Two-phased constructor. - * - */ + * + */ IMPORT_C static CPluginValidator* NewLC( TUid aUid, TAny *aParameter = NULL ); @@ -73,7 +73,7 @@ * * @param aUid required plugin * @return pointer to plugin implementation - */ + */ IMPORT_C TAny* GetImplementation( TUid aUid ); /** @@ -81,19 +81,19 @@ * * @param aIndex index of plugin * @return pointer to plugin implementation - */ + */ IMPORT_C TAny* GetImplementation( TInt aIndex ); - + /** * Gets number of plugins * * @return number of plugins - */ + */ IMPORT_C TInt GetCount(); - + /** * Desctructor. - */ + */ virtual ~CPluginValidator(); protected: @@ -120,59 +120,59 @@ /** * C++ default constructor. - */ + */ CPluginValidator( TUid aUid, TAny *aParameter ); /** * Perform the second phase construction of a CPluginValidator object. - */ + */ void ConstructL(); - + /* * Checks if plugin is present in an array */ - TBool PresentInArrayL( TPluginInfo aPluginInfo, - const RImplInfoPtrArray& aInfoArray ); + TBool PresentInArrayL( TPluginInfo aPluginInfo, + const RImplInfoPtrArray& aInfoArray ); /* - * + * */ - void DestroyPlugin( TInt aIndex ); - + void DestroyPlugin( TInt aIndex ); + /** * Cleans plugins table; - */ + */ void CleanPluginsTable(); - + /** * Loads or destroys plugins - */ - virtual void ManagePluginsL(); + */ + virtual void ManagePluginsL(); /** * Loads ECOM plugins - */ - virtual void LoadPluginL( TPluginInfo& aPluginInfo ); - + */ + virtual void LoadPluginL( TPluginInfo& aPluginInfo ); + protected: - + /** * ECOM handler * Own. */ REComSession* iSession; - + /** * Array containing plugins * Own. */ RArray iPluginArray; - + /** * UID of the interface */ const TUid iUid; - + /** * Parameter to pass to the object creation method. */