29
|
1 |
/*
|
|
2 |
* Copyright (c) 2006, 2007 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: This class creates and parses dps operations.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#include "dpsstatemachine.h"
|
|
19 |
// ---------------------------------------------------------------------------
|
|
20 |
//
|
|
21 |
// ---------------------------------------------------------------------------
|
|
22 |
//
|
|
23 |
TBool CDpsTransaction::IsReply()
|
|
24 |
{
|
|
25 |
return iReply;
|
|
26 |
}
|
|
27 |
|
|
28 |
// ---------------------------------------------------------------------------
|
|
29 |
//
|
|
30 |
// ---------------------------------------------------------------------------
|
|
31 |
//
|
|
32 |
CDpsXmlParser* CDpsTransaction::Parser()
|
|
33 |
{
|
|
34 |
return iXmlPar;
|
|
35 |
}
|
|
36 |
|
|
37 |
// ---------------------------------------------------------------------------
|
|
38 |
//
|
|
39 |
// ---------------------------------------------------------------------------
|
|
40 |
//
|
|
41 |
CDpsEngine* CDpsTransaction::Engine()
|
|
42 |
{
|
|
43 |
return iOperator->DpsEngine();
|
|
44 |
}
|
|
45 |
|
|
46 |
// ---------------------------------------------------------------------------
|
|
47 |
//
|
|
48 |
// ---------------------------------------------------------------------------
|
|
49 |
//
|
|
50 |
CDpsXmlGenerator* CDpsTransaction::Generator()
|
|
51 |
{
|
|
52 |
return iXmlGen;
|
|
53 |
}
|
|
54 |
|
|
55 |
// ---------------------------------------------------------------------------
|
|
56 |
//
|
|
57 |
// ---------------------------------------------------------------------------
|
|
58 |
//
|
|
59 |
CDpsStateMachine* CDpsTransaction::Operator()
|
|
60 |
{
|
|
61 |
return iOperator;
|
|
62 |
}
|
|
63 |
|
|
64 |
// ---------------------------------------------------------------------------
|
|
65 |
//
|
|
66 |
// ---------------------------------------------------------------------------
|
|
67 |
//
|
|
68 |
CDpsFile* CDpsTransaction::FileHandle()
|
|
69 |
{
|
|
70 |
return iFile;
|
|
71 |
} |