calendarui/views/dayview/tsrc/unittests/unittest_calendayview/calennotificationhandler.h
changeset 75 7ac58b2aae6f
parent 72 27feeedec790
child 79 6ff09f16627b
child 81 ce92091cbd61
equal deleted inserted replaced
72:27feeedec790 75:7ac58b2aae6f
     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     ECalenNotifySystemLanguageChanged,
       
    36     ECalenNotifyLostAlarms,
       
    37     ECalenNotifyCmdLineLaunch,
       
    38     ECalenNotifyAvkonViewSwitchLaunch,
       
    39     ECalenNotifySettingsChanged,
       
    40     ECalenNotifyViewCreationStarted,
       
    41     ECalenNotifyDialogClosed,
       
    42     ECalenNotifyCommandFailed,
       
    43     ECalenNotifyDeleteFailed,
       
    44     ECalenNotifyEntryClosed,
       
    45     ECalenNotifySettingsClosed,
       
    46     ECalenNotifySettingsCRepKeyChanged,
       
    47     ECalenNotifyPluginEnabledDisabled,
       
    48     ECalenNotifyEComRegistryChanged,
       
    49     ECalenNotifyResourceChanged,
       
    50     ECalenNotifyViewPopulationComplete,
       
    51     ECalenNotifyAppForegrounded,
       
    52     ECalenNotifyAppBackgrounded,
       
    53     ECalenNotifyMarkedEntryDeleted,
       
    54     ECalenNotifyCheckPluginUnloading,
       
    55     ECalenNotifyEntrySent,
       
    56     ECalenNotifyCancelDelete,
       
    57     ECalenNotifyDayViewClosed,
       
    58 	ECalenNotifyMapClosed,
       
    59 	ECalenNotifyCancelMapLaunch,
       
    60     ECalenNotifyMissedAlarmViewClosed,
       
    61     ECalenNotifyMissedEventViewClosed,
       
    62     ECalenNotifyEditorClosedFromViewer,
       
    63     /*ECalenNotifyUserDefined1,
       
    64     ECalenNotifyUserDefined2,*/
       
    65     ECalenNotifyThaiPluginEnabled,
       
    66     ECalenNotifyThaiPluginDisabled,
       
    67     ECalenNotifyUserDefined3,
       
    68     ECalenNotifyUserDefined4,
       
    69     ECalenNotifyLast  
       
    70     };
       
    71 
       
    72 /**
       
    73  * Class for handling calendar notifications.
       
    74  */
       
    75 class MCalenNotificationHandler
       
    76     {
       
    77     public:  // New functions
       
    78         virtual void HandleNotification( const TCalenNotification aNotification ) = 0;
       
    79     };
       
    80 
       
    81 #endif  // CALENNOTIFICATIONHANDLER_H
       
    82 
       
    83 // End of file