instantmessagesalert/inc/mimalertnotifierinterface.h
branchRCL_3
changeset 23 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
22:3104fc151679 23:9a48e301e94b
       
     1 /*
       
     2 * Copyright (c) 2009 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:  This interface describes structure of notify services
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MIMALERTNOTIFIERINTERFACE_H
       
    20 #define MIMALERTNOTIFIERINTERFACE_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <coreapplicationuisdomainpskeys.h>
       
    25 #include <ctsydomainpskeys.h>
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  An interface for listening PS key changes
       
    32 *
       
    33 *  @since Series 60 2.6
       
    34 */
       
    35 class MIMAlertNotifierInterface
       
    36     {
       
    37 	public:
       
    38 		enum TNotifyKey
       
    39 			{
       
    40 			EMSGToneQuitKey			
       
    41 			};
       
    42 	public:
       
    43 		
       
    44 		virtual ~MIMAlertNotifierInterface(){};
       
    45 
       
    46     public: // New functions
       
    47         
       
    48 		virtual TInt SetInt( TNotifyKey aKey, TInt aValue ) = 0;
       
    49 		virtual TInt GetInt( TNotifyKey aKey, TInt& aValue ) = 0;
       
    50 		virtual TInt ListenKeyChanges( TNotifyKey aKey ) = 0;
       
    51     };
       
    52 
       
    53 #endif      // MIMALERTNOTIFIERINTERFACE_H   
       
    54             
       
    55 // End of File
       
    56