dependencies/DRMEventObserver.h
author Christian Morlok <symbian.org@christianmorlok.de>
Wed, 07 Apr 2010 14:35:19 +0200
branchv5backport
changeset 54 666a2952b5b3
parent 31 a3e98f9c292b
permissions -rw-r--r--
renamed dlls+exe to prevent conflicts with existing files in emulator; changelog attached. * renamed dlls/exe: - aifw.dll to aifw_hs.dll - cputils to cputils_hs - aiidleint.dll to aiidleint_hs.dll - aiutils.dll to aiutils_hs.dll - MenuInterface.dll to MenuInterface_hs.dll - XCFW.dll to XCFW_hs.dll - homescreen.exe to homescreen_hs.exe - ailaunch.exe to ailaunch_hs.exe * new UID for Active Idle (aifw_hs.dll, aiidleint_hs.dll and homescreen.exe): #define AI_UID3_AIFW_COMMON 0xEDFF45C4 (was 0x102750F0 = 271012080) * new UID for cputils_hs.dll: 0xE3E7134E (was 0x20016B7F = 536963967) * new UID for AI Utilities Factory (aiutils_hs.dll): 0xEC55106C (was 0x10281865 = 271063141) * new UID for MenuInterface_hs.dll: 0xEEE24485 (was 0x10210EAB = 270601899) * new UID for XCFW_hs.dll: 0xEB12332F (was 0x10210EA0 = 270601888) * new UID for ailaunch_hs.exe: 0xEF5A047A (was 0x200286E3 = 537036515)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     1
/*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     2
* Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies).
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     3
* All rights reserved.
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     4
* This component and the accompanying materials are made available
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     6
* which accompanies this distribution, and is available
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     8
*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     9
* Initial Contributors:
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    11
*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    12
* Contributors:
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    13
*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    14
* Description:  The applications that want to use the notification service
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    15
*                need to inherit from this class.
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    16
*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    17
*/
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    18
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    19
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    20
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    21
#ifndef MDRMEVENTOBSERVER_H
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    22
#define MDRMEVENTOBSERVER_H
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    23
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    24
//  INCLUDES
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    25
#include <DRMEvent.h>
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    26
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    27
// CONSTANTS
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    28
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    29
// MACROS
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    30
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    31
// DATA TYPES
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    32
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    33
// FUNCTION PROTOTYPES
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    34
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    35
// FORWARD DECLARATIONS
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    36
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    37
// CLASS DECLARATION
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    38
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    39
/**
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    40
*  This class offers abstract interface to receive DRM notifications
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    41
*  from DRM notifier.
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    42
*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    43
*  @lib DRMCommon.dll
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    44
*  @since S60Rel2.6
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    45
*/
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    46
class MDRMEventObserver
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    47
{
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    48
public: // New functions
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    49
    /**
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    50
    * HandleNotificationL
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    51
    *
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    52
    * Callback function for the event notifications
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    53
    * The MDRMEvent object ownership stays with the notifier,
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    54
    * do not delete it
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    55
    *
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    56
    * @param aEvent : an object of the type MDRMEvent
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    57
    * @since S60Rel2.6
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    58
    */
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    59
   virtual void HandleEventL( MDRMEvent* aEvent ) = 0;
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    60
};
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    61
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    62
#endif      // MDRMEVENTOBSERVER_H
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    63
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    64
// End of File