00001 /* 00002 * ============================================================================ 00003 * Name : ScreensaverpluginIntDef.h 00004 * Part of : Screensaver 00005 * Description: Defines screensaver plugin Ecom interface. 00006 * Version: 00007 * 00008 * Copyright © 2004 Nokia Corporation. 00009 * This material, including documentation and any related 00010 * computer programs, is protected by copyright controlled by 00011 * Nokia Corporation. All rights are reserved. Copying, 00012 * including reproducing, storing, adapting or translating, any 00013 * or all of this material requires the prior written consent of 00014 * Nokia Corporation. This material also contains confidential 00015 * information which may not be disclosed to others without the 00016 * prior written consent of Nokia Corporation. 00017 * ============================================================================ 00018 */ 00019 #ifndef SCREEN_SAVER_PLUGIN_INT_DEF_H 00020 #define SCREEN_SAVER_PLUGIN_INT_DEF_H 00021 00022 // INCLUDES 00023 #include <e32base.h> 00024 #include <Ecom\ImplementationInformation.h> 00025 #include <Screensaverplugin.h> 00026 00027 // CONSTANTS 00028 00029 // MACROS 00030 00031 // DATA TYPES 00032 00033 // FUNCTION PROTOTYPES 00034 00035 // FORWARD DECLARATIONS 00036 00037 // CLASS DECLARATION 00038 00043 class CScreensaverPluginInterfaceDefinition: public CBase, 00044 public MScreensaverPlugin 00045 { 00046 public: 00047 /* 00048 * Function which instantiates an object of this type 00049 */ 00050 inline static CScreensaverPluginInterfaceDefinition* NewL(TUid aImplementationUid); 00051 00052 /* 00053 * Function which lists the currently available screensaver implementations 00054 * 00055 * * @param aImplInfoArray A reference to a client-owned array, which on return 00056 * is filled with interface implementation data. 00057 * Any existing data in the array is destroyed. 00058 */ 00059 inline static void ListImplementationsL(RImplInfoPtrArray& aImplInfoArray); 00060 00064 inline virtual ~CScreensaverPluginInterfaceDefinition(); 00065 00066 private: 00071 TUid iDtor_ID_Key; 00072 }; 00073 00074 #include "ScreensaverpluginIntDef.inl" 00075 00076 // SCREEN_SAVER_PLUGIN_INT_DEF_H 00077 #endif 00078 // End of file.