2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
18 #ifndef _SCREENSAVERPLUGININTDEF_HRH_
19 #define _SCREENSAVERPLUGININTDEF_HRH_
21 // This constant should be used in screensaver ecom plugins to define
22 // the ecom plugin interface UID
23 #define KCScreensaverPluginInterfaceDefinitionUid 0x101F87F8
25 // Screen saver plugin capabilities
28 // Plugin has no special capabilities
30 // Plugin implements the configure function
31 EScpCapsConfigure = 0x01,
32 // Plugin wants to be notified when selected as the active screensaver
33 EScpCapsSelectionNotification = 0x02,
34 // Plugin wants to be notified when preview command is selected
35 EScpCapsPreviewNotification = 0x04
39 // Screensaver plugins capabilities definition strings
43 * Screensaver plugin capabilities definition strings for ECom
44 * plugin registration data for convenience. Note that if you define
45 * a combination of capabilities, the ORed value as a string must be used
47 * E.g. EScpCapsConfigure | EScpCapsSelectionNotification = 3 -> "03"
48 * The values MUST be taken from TScPluginCaps
50 #define KScrPluginCapabilitiesNoneStr "00"
51 #define KScrPluginCapabilitiesConfigureStr "01"
52 #define KScrPluginCapabilitiesSelectionNotificationStr "02"
53 #define KScrPluginCapabilitiesPreviewNotificationStr "04"
55 #endif // _SCREENSAVERPLUGININTDEF_HRH_