1.1 --- a/epoc32/include/mw/screensaverpluginintdef.hrh Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/screensaverpluginintdef.hrh Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,56 @@
1.4 -screensaverpluginintdef.hrh
1.5 +/*
1.6 +* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description:
1.19 +*
1.20 +*/
1.21 +
1.22 +#ifndef _SCREENSAVERPLUGININTDEF_HRH_
1.23 +#define _SCREENSAVERPLUGININTDEF_HRH_
1.24 +
1.25 +// This constant should be used in screensaver ecom plugins to define
1.26 +// the ecom plugin interface UID
1.27 +#define KCScreensaverPluginInterfaceDefinitionUid 0x101F87F8
1.28 +
1.29 +// Screen saver plugin capabilities
1.30 +enum TScPluginCaps
1.31 + {
1.32 + // Plugin has no special capabilities
1.33 + EScpCapsNone = 0x00,
1.34 + // Plugin implements the configure function
1.35 + EScpCapsConfigure = 0x01,
1.36 + // Plugin wants to be notified when selected as the active screensaver
1.37 + EScpCapsSelectionNotification = 0x02,
1.38 + // Plugin wants to be notified when preview command is selected
1.39 + EScpCapsPreviewNotification = 0x04
1.40 + };
1.41 +
1.42 +//
1.43 +// Screensaver plugins capabilities definition strings
1.44 +//
1.45 +
1.46 +/*
1.47 +* Screensaver plugin capabilities definition strings for ECom
1.48 +* plugin registration data for convenience. Note that if you define
1.49 +* a combination of capabilities, the ORed value as a string must be used
1.50 +* (not defined here).
1.51 +* E.g. EScpCapsConfigure | EScpCapsSelectionNotification = 3 -> "03"
1.52 +* The values MUST be taken from TScPluginCaps
1.53 +*/
1.54 +#define KScrPluginCapabilitiesNoneStr "00"
1.55 +#define KScrPluginCapabilitiesConfigureStr "01"
1.56 +#define KScrPluginCapabilitiesSelectionNotificationStr "02"
1.57 +#define KScrPluginCapabilitiesPreviewNotificationStr "04"
1.58 +
1.59 +#endif // _SCREENSAVERPLUGININTDEF_HRH_
1.60 +// End of file.