diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/mw/screensaverpluginintdef.h --- a/epoc32/include/mw/screensaverpluginintdef.h Tue Nov 24 13:55:44 2009 +0000 +++ b/epoc32/include/mw/screensaverpluginintdef.h Tue Mar 16 16:12:26 2010 +0000 @@ -1,1 +1,76 @@ -screensaverpluginintdef.h +/* +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members +* which accompanies this distribution, and is available +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Defines screensaver plugin Ecom interface. +* +*/ + +#ifndef SCREEN_SAVER_PLUGIN_INT_DEF_H +#define SCREEN_SAVER_PLUGIN_INT_DEF_H + +// INCLUDES +#include +#include +#include + +// CONSTANTS + +// MACROS + +// DATA TYPES + +// FUNCTION PROTOTYPES + +// FORWARD DECLARATIONS + +// CLASS DECLARATION + +/** +* This base class for screensaver ECom plugin implemenation. Every plugin module +* must inherit and implement this class. +*/ +class CScreensaverPluginInterfaceDefinition: public CBase, + public MScreensaverPlugin + { + public: + /* + * Function which instantiates an object of this type + */ + inline static CScreensaverPluginInterfaceDefinition* NewL(TUid aImplementationUid); + + /* + * Function which lists the currently available screensaver implementations + * + * * @param aImplInfoArray A reference to a client-owned array, which on return + * is filled with interface implementation data. + * Any existing data in the array is destroyed. + */ + inline static void ListImplementationsL(RImplInfoPtrArray& aImplInfoArray); + + /** + * Virtual desctructor. + */ + inline virtual ~CScreensaverPluginInterfaceDefinition(); + + private: + /** + * Required attribute for the framework + * (An identifier used during destruction) + */ + TUid iDtor_ID_Key; + }; + +#include "ScreensaverpluginIntDef.inl" + +#endif // SCREEN_SAVER_PLUGIN_INT_DEF_H +// End of file.