instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_presencesubserviceeventobserver.h
branchRCL_3
changeset 28 3104fc151679
parent 27 2b7283837edb
child 29 9a48e301e94b
equal deleted inserted replaced
27:2b7283837edb 28:3104fc151679
     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: s_presencesubserviceeventobserver.h
       
    15 *
       
    16 */
       
    17 
       
    18 #include "MVIMPSTEnginePresenceSubServiceEventObserver.h"
       
    19 #include <e32base.h>
       
    20 
       
    21 class MyPresenceSubServiceEventObserverStub : public MVIMPSTEnginePresenceSubServiceEventObserver,
       
    22 											  public CBase
       
    23 	{
       
    24 	public :
       
    25 		
       
    26 		static MyPresenceSubServiceEventObserverStub* MyPresenceSubServiceEventObserverStub::NewL()
       
    27 		    {
       
    28 		    MyPresenceSubServiceEventObserverStub* self = new (ELeave) MyPresenceSubServiceEventObserverStub();
       
    29 		    return self;
       
    30 		    }
       
    31 
       
    32 		MyPresenceSubServiceEventObserverStub::~MyPresenceSubServiceEventObserverStub()
       
    33 	    	{
       
    34 	    	
       
    35 	    	}
       
    36     	
       
    37    	public:	
       
    38 		/**
       
    39 		 * observer to handle own presence change notifications
       
    40 		 *
       
    41 		 * @since s60 5.0
       
    42 		 * @param aStatus current status.
       
    43 		 * @param aStatusText status text to be shown.
       
    44 		 */
       
    45 		 void HandleOwnPresenceChangeEventL(TVIMPSTEnums::TOnlineStatus /*aStatus*/, const TDesC& /*aStatusText*/ )
       
    46 			 {
       
    47 			 	
       
    48 			 }
       
    49 
       
    50        
       
    51 		 void  HandleAddRequestEventL(const TDesC& /*aRequester*/) 
       
    52 		     {
       
    53 		     
       
    54 		     }
       
    55 	};
       
    56 	               
       
    57 
       
    58