0
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2008 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 the License "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 |
|
|
20 |
// ---------------------------------------------------------
|
|
21 |
// CDpPif::PipeState
|
|
22 |
// This method returns pipe state.
|
|
23 |
// ---------------------------------------------------------
|
|
24 |
//
|
|
25 |
inline CDpPif::TDpPipeState CDpPif::PipeState()
|
|
26 |
{
|
|
27 |
return iPipeState;
|
|
28 |
}
|
|
29 |
|
|
30 |
// ---------------------------------------------------------
|
|
31 |
// CDpPif::PipeHandle
|
|
32 |
// This method returns pipe handle.
|
|
33 |
// ---------------------------------------------------------
|
|
34 |
//
|
|
35 |
inline TUint8 CDpPif::PipeHandle()
|
|
36 |
{
|
|
37 |
return iPipeHandle;
|
|
38 |
}
|
|
39 |
|
|
40 |
// ---------------------------------------------------------
|
|
41 |
// CDpPif::SetPipeHandle
|
|
42 |
// This method sets pipe handle.
|
|
43 |
// ---------------------------------------------------------
|
|
44 |
//
|
|
45 |
inline void CDpPif::SetPipeHandle(
|
|
46 |
const TUint8 aPipeHandle )
|
|
47 |
{
|
|
48 |
iPipeHandle = aPipeHandle;
|
|
49 |
}
|
|
50 |
|
9
|
51 |
#ifdef PIPECAMP_DATAPORT_PNS_PEP_STATUS_IND_PHONET_ADDRESS_FROM_PNS_PEP_CTRL_REQ // 20100523_1300
|
|
52 |
inline void CDpPif::SetPipeControllerDeviceIdentifier(
|
|
53 |
const TUint8 aDeviceId )
|
|
54 |
{
|
|
55 |
iPipeControllerDevId = aDeviceId;
|
|
56 |
}
|
|
57 |
|
|
58 |
inline void CDpPif::SetPipeControllerObjectIdentifier(
|
|
59 |
const TUint8 aObjectId )
|
|
60 |
{
|
|
61 |
iPipeControllerObjId = aObjectId;
|
|
62 |
}
|
|
63 |
|
|
64 |
inline TUint8 CDpPif::GetPipeControllerDeviceIdentifier()
|
|
65 |
{
|
|
66 |
return iPipeControllerDevId;
|
|
67 |
}
|
|
68 |
|
|
69 |
inline TUint8 CDpPif::GetPipeControllerObjectIdentifier()
|
|
70 |
{
|
|
71 |
return iPipeControllerObjId;
|
|
72 |
}
|
|
73 |
#endif
|
0
|
74 |
// ---------------------------------------------------------
|
|
75 |
// CDpPif::SetPipeState
|
|
76 |
// This method sets pipe state.
|
|
77 |
// ---------------------------------------------------------
|
|
78 |
//
|
|
79 |
inline void CDpPif::SetPipeState(
|
|
80 |
const TDpPipeState aPipeState )
|
|
81 |
{
|
|
82 |
iPipeState = aPipeState;Notify();
|
|
83 |
}
|
|
84 |
|
|
85 |
// ---------------------------------------------------------
|
|
86 |
// CDpPif::PifState
|
|
87 |
// This method returns pif state.
|
|
88 |
// ---------------------------------------------------------
|
|
89 |
//
|
|
90 |
inline CDpPif::TDpPifState CDpPif::PifState()
|
|
91 |
{
|
|
92 |
return iPifState;
|
|
93 |
}
|
|
94 |
|
|
95 |
// End of File
|