calendarui/controller/inc/calennotificationhandler.h
changeset 18 c198609911f9
child 45 b6db4fd4947b
equal deleted inserted replaced
0:f979ecb2b13e 18:c198609911f9
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Notification interface for S60 Calendar customizations
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CALENNOTIFICATIONHANDLER_H
       
    19 #define CALENNOTIFICATIONHANDLER_H
       
    20 
       
    21 enum TCalenNotification
       
    22     {
       
    23     ECalenNotifyAll                                = 0, // Receive all notifications
       
    24     ECalenNotifyEntryInstanceViewCreated,
       
    25     ECalenNotifyEntryInstanceViewCreationFailed,
       
    26     ECalenNotifyContextChanged,
       
    27     ECalenNotifyExternalDatabaseChanged,
       
    28     ECalenNotifyEntrySaved,
       
    29     ECalenNotifyEntryDeleted,
       
    30     ECalenNotifyMultipleEntriesDeleted,
       
    31     ECalenNotifyInstanceSaved,
       
    32     ECalenNotifyInstanceDeleted,
       
    33     ECalenNotifySystemTimeChanged,
       
    34     ECalenNotifySystemLocaleChanged,
       
    35     ECalenNotifyLostAlarms,
       
    36     ECalenNotifyCmdLineLaunch,
       
    37     ECalenNotifyAvkonViewSwitchLaunch,
       
    38     ECalenNotifySettingsChanged,
       
    39     ECalenNotifyViewCreationStarted,
       
    40     ECalenNotifyDialogClosed,
       
    41     ECalenNotifyCommandFailed,
       
    42     ECalenNotifyDeleteFailed,
       
    43     ECalenNotifyEntryClosed,
       
    44     ECalenNotifySettingsClosed,
       
    45     ECalenNotifySettingsCRepKeyChanged,
       
    46     ECalenNotifyPluginEnabledDisabled,
       
    47     ECalenNotifyEComRegistryChanged,
       
    48     ECalenNotifyResourceChanged,
       
    49     ECalenNotifyViewPopulationComplete,
       
    50     ECalenNotifyAppForegrounded,
       
    51     ECalenNotifyAppBackgrounded,
       
    52     ECalenNotifyMarkedEntryDeleted,
       
    53     ECalenNotifyCheckPluginUnloading,
       
    54     ECalenNotifyEntrySent,
       
    55     ECalenNotifyCancelDelete,
       
    56     ECalenNotifyDayViewClosed,
       
    57 	ECalenNotifyMapClosed,
       
    58 	ECalenNotifyCancelMapLaunch,
       
    59     ECalenNotifyMissedAlarmViewClosed,
       
    60     ECalenNotifyMissedEventViewClosed,
       
    61     ECalenNotifyEditorClosedFromViewer,
       
    62     /*ECalenNotifyUserDefined1,
       
    63     ECalenNotifyUserDefined2,*/
       
    64     ECalenNotifyThaiPluginEnabled,
       
    65     ECalenNotifyThaiPluginDisabled,
       
    66     ECalenNotifyUserDefined3,
       
    67     ECalenNotifyUserDefined4,
       
    68     ECalenNotifyLast  
       
    69     };
       
    70 
       
    71 /**
       
    72  * Class for handling calendar notifications.
       
    73  */
       
    74 class MCalenNotificationHandler
       
    75     {
       
    76     public:  // New functions
       
    77         virtual void HandleNotification( const TCalenNotification aNotification ) = 0;
       
    78     };
       
    79 
       
    80 #endif  // CALENNOTIFICATIONHANDLER_H
       
    81 
       
    82 // End of file