24
|
1 |
// Copyright (c) 2008-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 |
//
|
|
15 |
|
|
16 |
#ifdef USING_CTSY_DISPATCHER
|
|
17 |
|
|
18 |
/**
|
|
19 |
* This file contains additional function definitions for the CMmPacketContextTsy class
|
|
20 |
* in CTSY for use when the CTSY is used with the CTSY Dispatcher.
|
|
21 |
*/
|
|
22 |
|
|
23 |
// INCLUDE FILES
|
|
24 |
|
|
25 |
#include "cmmpacketservicegsmwcdmaext.h"
|
|
26 |
|
|
27 |
// ============================ MEMBER FUNCTIONS ===============================
|
|
28 |
|
|
29 |
// ---------------------------------------------------------------------------
|
|
30 |
// CMmPacketContextTsy::RemovePacketFilter
|
|
31 |
// This method removes a packet filter from the TFT belonging to this context.
|
|
32 |
// (other items were commented in a header).
|
|
33 |
// ---------------------------------------------------------------------------
|
|
34 |
//
|
|
35 |
TInt CMmPacketContextTsy::RemovePacketFilter(
|
|
36 |
TInt *aID )
|
|
37 |
{
|
|
38 |
TFLOGSTRING2( "TSY: CMmPacketContextTsy::RemovePacketFilter. RemovedFilter:%d", *aID );
|
|
39 |
|
|
40 |
// id must be value from 1 to 8
|
|
41 |
if ( 0 < *aID && 8 >= *aID )
|
|
42 |
{
|
|
43 |
iMmPacketContextGsmWcdmaExt->RemovePacketFilter( *aID );
|
|
44 |
}
|
|
45 |
|
|
46 |
// Operation is context configuration and complete method handles request complete
|
|
47 |
iReqHandleType = EMultimodePacketContextRemovePacketFilter;
|
|
48 |
|
|
49 |
|
|
50 |
return KErrNone;
|
|
51 |
}
|
|
52 |
|
|
53 |
#endif //USING_CTSY_DISPATCHER
|
|
54 |
|
|
55 |
// End of File
|