remotemgmt_plat/dm_native_notifier_api/inc/DMNativeNotifierInterface.h
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 /*
       
     2 * Copyright (c) 2006 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:  Interface file for DM Native Notifier.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DMNATIVENOTIFIERINTERFACE_H_
       
    20 #define DMNATIVENOTIFIERINTERFACE_H_
       
    21 
       
    22 #include <e32base.h>    // CBase  // TBuf
       
    23 #include <ecom/ecom.h>
       
    24 
       
    25 // The Ecom interface uid
       
    26 const TUid KNotifierInterfaceUid =  {0x2002BC4D};
       
    27 
       
    28 //Return types based on the user key press
       
    29 enum 
       
    30     {
       
    31     ESyncMLDlgRespKeyNone = -3, 
       
    32     ESyncMLDlgRespKeyOk = -2, // all LSK
       
    33     ESyncMLDlgRespKeyOthers = -1, //all call-termination key press fall here.
       
    34     ESyncMLDlgRespKeyCancel= 0
       
    35     };
       
    36 
       
    37 //Constants for showing the note
       
    38 enum TDmNoteType
       
    39 {
       
    40     EPrivacyPolicy = 0
       
    41 };
       
    42 
       
    43 class MDMNativeNotifierInterface
       
    44     {
       
    45 public:
       
    46     virtual TInt ShowDialogL(TDmNoteType aNote)=0;
       
    47     };
       
    48 
       
    49 
       
    50 
       
    51 #endif /* DMNATIVENOTIFIERINTERFACE_H_ */