dbgagents/trkagent/app/common/trkservereventcallback.h
changeset 0 c6b0df440bee
equal deleted inserted replaced
-1:000000000000 0:c6b0df440bee
       
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __TRKSERVEREVENTCALLBACK_H__
       
    20 #define __TRKSERVEREVENTCALLBACK_H__
       
    21 #include "TrkConnData.h" 
       
    22 /**
       
    23 *  Abstract callback interface for TRK event listeners to call into the app for certain situations.
       
    24 *  All callbacks into the app from TRK event listeners can be added here.
       
    25 */
       
    26 class MTrkServerEventCallback
       
    27 {
       
    28     public:
       
    29 
       
    30         /**
       
    31         * Called by TRK debug state listener when debugging state changes
       
    32         */
       
    33         virtual void DebugStateChanged(TBool& aDebugging) = 0;
       
    34 
       
    35         /**
       
    36         * Called when a connection state changes               
       
    37         */
       
    38         virtual void ConnectionStateChanged(TTrkConnStatus& aConnected) = 0; 
       
    39       
       
    40 };
       
    41 
       
    42 #endif //__TRKSERVEREVENTCALLBACK_H__
       
    43