williamr@2: /* williamr@2: * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * 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 williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * williamr@2: */ williamr@2: williamr@2: #ifndef _SCREENSAVERPLUGININTDEF_HRH_ williamr@2: #define _SCREENSAVERPLUGININTDEF_HRH_ williamr@2: williamr@2: // This constant should be used in screensaver ecom plugins to define williamr@2: // the ecom plugin interface UID williamr@2: #define KCScreensaverPluginInterfaceDefinitionUid 0x101F87F8 williamr@2: williamr@2: // Screen saver plugin capabilities williamr@2: enum TScPluginCaps williamr@2: { williamr@2: // Plugin has no special capabilities williamr@2: EScpCapsNone = 0x00, williamr@2: // Plugin implements the configure function williamr@2: EScpCapsConfigure = 0x01, williamr@2: // Plugin wants to be notified when selected as the active screensaver williamr@2: EScpCapsSelectionNotification = 0x02, williamr@2: // Plugin wants to be notified when preview command is selected williamr@2: EScpCapsPreviewNotification = 0x04 williamr@2: }; williamr@2: williamr@2: // williamr@2: // Screensaver plugins capabilities definition strings williamr@2: // williamr@2: williamr@2: /* williamr@2: * Screensaver plugin capabilities definition strings for ECom williamr@2: * plugin registration data for convenience. Note that if you define williamr@2: * a combination of capabilities, the ORed value as a string must be used williamr@2: * (not defined here). williamr@2: * E.g. EScpCapsConfigure | EScpCapsSelectionNotification = 3 -> "03" williamr@2: * The values MUST be taken from TScPluginCaps williamr@2: */ williamr@2: #define KScrPluginCapabilitiesNoneStr "00" williamr@2: #define KScrPluginCapabilitiesConfigureStr "01" williamr@2: #define KScrPluginCapabilitiesSelectionNotificationStr "02" williamr@2: #define KScrPluginCapabilitiesPreviewNotificationStr "04" williamr@2: williamr@2: #endif // _SCREENSAVERPLUGININTDEF_HRH_ williamr@2: // End of file.