mmserv/tms/tmsserver/inc/tmspubsubobserver.h
changeset 12 5a06f39ad45b
equal deleted inserted replaced
0:71ca22bcf22a 12:5a06f39ad45b
       
     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:  Declarations for class TMSPubSubObserver
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef TMSPUBSUBOBSERVER_H
       
    19 #define TMSPUBSUBOBSERVER_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32std.h>
       
    23 
       
    24 namespace TMS {
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  *  Observer interface for indicating P&S changes
       
    30  *
       
    31  */
       
    32 class TMSPubSubObserver
       
    33     {
       
    34 public:
       
    35     // New functions
       
    36 
       
    37     /**
       
    38      * Handler for changed event.
       
    39      * @param aUid uid of setting
       
    40      * @param aKey id of setting
       
    41      * @param aStatus status of completed AO operation
       
    42      */
       
    43     virtual void HandleNotifyPSL(const TUid aUid, const TInt& aKey,
       
    44             const TRequestStatus& aStatus) = 0;
       
    45     };
       
    46 
       
    47 } // TMS namespace
       
    48 
       
    49 #endif // TMSPUBSUBOBSERVER_H
       
    50 
       
    51 // End of File