telephonyserverplugins/simtsy/inc/CSimQoSChange.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // CSimNetStatChange.H
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __CSIMNETSTATCHANGE_H__
       
    19 #define __CSIMNETSTATCHANGE_H__
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <e32property.h>
       
    23 #include "CSimTimer.h"
       
    24 #include "CSimPubSub.h"
       
    25 
       
    26 class MQoSChangeCallBack
       
    27 	{
       
    28 	public:
       
    29 	virtual void QoSChangeCallBack(TInt aId) = 0;
       
    30 	};
       
    31 	
       
    32 class CSimQoSChange : public CActive
       
    33 	{
       
    34 	public:
       
    35 	static CSimQoSChange* NewL(MQoSChangeCallBack* aCallback, CSimPubSub::TPubSubProperty aProperty);
       
    36 	void ConstructL();
       
    37 	~CSimQoSChange();
       
    38 	
       
    39 	private:
       
    40 	CSimQoSChange(MQoSChangeCallBack* aCallback, CSimPubSub::TPubSubProperty aProperty);
       
    41 	
       
    42 	void RunL();
       
    43 	void DoCancel();
       
    44 	
       
    45 	private:
       
    46 	RTimer iTimer;
       
    47 	TBool iNetStat;
       
    48 	MQoSChangeCallBack* iCallback;
       
    49 	RProperty iProp;
       
    50 	const CSimPubSub::TPubSubProperty iPSProperty;
       
    51 	};
       
    52 	
       
    53 #endif //__CSIMNETSTATCHANGE_H__