telephonyprotocols/umtsgprsscpr/spudtel/inc/cqoschangenotifier.h
author hgs
Mon, 09 Aug 2010 17:43:08 +0100
changeset 59 ac20d6a0a19d
parent 44 8b72faa1200f
permissions -rw-r--r--
201029_06
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
44
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     1
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     2
// All rights reserved.
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     3
// This component and the accompanying materials are made available
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     5
// which accompanies this distribution, and is available
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     7
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     8
// Initial Contributors:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     9
// Nokia Corporation - initial contribution.
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    10
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    11
// Contributors:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    12
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    13
// Description:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    14
// QoS profile change notifier
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    15
// 
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    16
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    17
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    18
/**
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    19
 @file 
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    20
 @internalComponent
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    21
*/
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    22
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    23
#ifndef CQOSCHAGENOTIFIER_H
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    24
#define CQOSCHAGENOTIFIER_H
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    25
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    26
#include <e32base.h>
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    27
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    28
#include "ceteldrivernotifier.h"
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    29
#include "ceteldrivercontext.h" // definition of TQoSR99_R4NegotiatedPckg
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    30
#include "pdpfsmnmspace.h"
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    31
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    32
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    33
class RPacketQoS;
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    34
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    35
/** QoS profile change notifier */
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    36
class CQoSChangeNotifier : public CEtelDriverNotifier
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    37
	{
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    38
public:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    39
	CQoSChangeNotifier (TContextId aId, RPacketQoS& aPacketQoS, 
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    40
							CPdpFsmInterface& aPdpFsmInterface);
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    41
	virtual ~CQoSChangeNotifier();
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    42
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    43
	virtual void Start();
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    44
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    45
protected:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    46
	virtual void Notify(const TRequestStatus& aStatus);
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    47
	virtual void DoCancel();
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    48
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    49
private:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    50
	/** associated context id */
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    51
	TContextId							iId;
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    52
	/** ref to packet QoS */
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    53
	RPacketQoS&							iPacketQoS;
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    54
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    55
    TNegotiatedProfileBuffer iProfileBuffer;
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    56
    TNegotiatedProfileBufferPckg iProfilePckg;
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    57
	};
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    58
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    59
#endif
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    60
// CQOSCHAGENOTIFIER_H