1 /* |
|
2 * Copyright (c) 2002 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: Defines a base class for all the items in WPAPAdapter |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 // INCLUDE FILES |
|
23 |
|
24 #include "CWPAPItemBase.h" |
|
25 #include "WPAPAdapter.pan" |
|
26 |
|
27 // ============================ MEMBER FUNCTIONS =============================== |
|
28 |
|
29 // ----------------------------------------------------------------------------- |
|
30 // Destructor |
|
31 // ----------------------------------------------------------------------------- |
|
32 CWPAPItemBase::~CWPAPItemBase() |
|
33 { |
|
34 } |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // C++ constructor |
|
38 // ----------------------------------------------------------------------------- |
|
39 CWPAPItemBase::CWPAPItemBase( const TDesC& aDefaultName ) |
|
40 : iDefaultName( aDefaultName ) |
|
41 { |
|
42 } |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // CWPAPItemBase::MarkReceived |
|
46 // ----------------------------------------------------------------------------- |
|
47 // |
|
48 void CWPAPItemBase::MarkReceived( TMarkedField aField ) |
|
49 { |
|
50 iReceivedFieldsFlags |= aField; |
|
51 } |
|
52 |
|
53 // ----------------------------------------------------------------------------- |
|
54 // CWPAPItemBase::IsReceived |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 TBool CWPAPItemBase::IsReceived( TMarkedField aField ) |
|
58 { |
|
59 return ( iReceivedFieldsFlags & aField ); |
|
60 } |
|
61 |
|
62 // End of File |
|