epoc32/include/mw/screensaverpluginintdef.hrh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
williamr@2
     1
/*
williamr@2
     2
* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     3
* All rights reserved.
williamr@2
     4
* This component and the accompanying materials are made available
williamr@2
     5
* 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
     6
* which accompanies this distribution, and is available
williamr@2
     7
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     8
*
williamr@2
     9
* Initial Contributors:
williamr@2
    10
* Nokia Corporation - initial contribution.
williamr@2
    11
*
williamr@2
    12
* Contributors:
williamr@2
    13
*
williamr@2
    14
* Description:  
williamr@2
    15
*
williamr@2
    16
*/
williamr@2
    17
williamr@2
    18
#ifndef _SCREENSAVERPLUGININTDEF_HRH_
williamr@2
    19
#define _SCREENSAVERPLUGININTDEF_HRH_
williamr@2
    20
williamr@2
    21
// This constant should be used in screensaver ecom plugins to define
williamr@2
    22
// the ecom plugin interface UID
williamr@2
    23
#define KCScreensaverPluginInterfaceDefinitionUid 0x101F87F8
williamr@2
    24
williamr@2
    25
// Screen saver plugin capabilities
williamr@2
    26
enum TScPluginCaps
williamr@2
    27
    {
williamr@2
    28
    // Plugin has no special capabilities
williamr@2
    29
    EScpCapsNone = 0x00,
williamr@2
    30
    // Plugin implements the configure function
williamr@2
    31
    EScpCapsConfigure = 0x01,
williamr@2
    32
    // Plugin wants to be notified when selected as the active screensaver
williamr@2
    33
    EScpCapsSelectionNotification = 0x02,
williamr@2
    34
    // Plugin wants to be notified when preview command is selected
williamr@2
    35
    EScpCapsPreviewNotification = 0x04
williamr@2
    36
    };
williamr@2
    37
williamr@2
    38
//
williamr@2
    39
// Screensaver plugins capabilities definition strings
williamr@2
    40
//
williamr@2
    41
williamr@2
    42
/*
williamr@2
    43
* Screensaver plugin capabilities definition strings for ECom
williamr@2
    44
* plugin registration data for convenience. Note that if you define
williamr@2
    45
* a combination of capabilities, the ORed value as a string must be used
williamr@2
    46
* (not defined here).
williamr@2
    47
* E.g. EScpCapsConfigure | EScpCapsSelectionNotification = 3 -> "03"
williamr@2
    48
* The values MUST be taken from TScPluginCaps
williamr@2
    49
*/
williamr@2
    50
#define KScrPluginCapabilitiesNoneStr                  "00"
williamr@2
    51
#define KScrPluginCapabilitiesConfigureStr             "01"
williamr@2
    52
#define KScrPluginCapabilitiesSelectionNotificationStr "02"
williamr@2
    53
#define KScrPluginCapabilitiesPreviewNotificationStr   "04"
williamr@2
    54
williamr@2
    55
#endif  // _SCREENSAVERPLUGININTDEF_HRH_
williamr@2
    56
// End of file.