locationdataharvester/inc/notification.h
branchRCL_3
changeset 17 1fc85118c3ae
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
       
     1 /*
       
     2 * Copyright (c) 2010 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __NOTIFICATION_H__
       
    20 #define __NOTIFICATION_H__
       
    21 
       
    22 /**  
       
    23  * The observer class gives notification to derive class .
       
    24  * When calender db creates in specific path.
       
    25  */
       
    26 class MNotifyChange
       
    27 {
       
    28 public:
       
    29     //Notification from Calender
       
    30     virtual void NotifyChangeL(TInt &aStatus)=0;
       
    31     
       
    32     //Subscribe the value from publisher
       
    33     virtual void GetChangeNotificationL(TInt &aId, TInt &addressType, TInt &addressCount )=0;
       
    34         
       
    35     virtual void SubscribeFromCalendarL(TInt aId) =0;
       
    36     
       
    37 };
       
    38 
       
    39 
       
    40 #endif  // __NOTIFICATION_H__
       
    41 // End of file
       
    42