equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-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 #ifndef __SSMSWP_H__ |
|
17 #define __SSMSWP_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 #include <e32def.h> |
|
21 |
|
22 /** |
|
23 @publishedPartner |
|
24 @released |
|
25 */ |
|
26 NONSHARABLE_CLASS(TSsmSwp) |
|
27 { |
|
28 public: |
|
29 IMPORT_C TSsmSwp(TUint aKey, TInt32 aValue); |
|
30 IMPORT_C TSsmSwp(const TSsmSwp& aSwp); |
|
31 IMPORT_C void Set(TUint aKey, TInt32 aValue); |
|
32 IMPORT_C TUint Key() const; |
|
33 IMPORT_C TInt32 Value() const; |
|
34 |
|
35 IMPORT_C TSsmSwp& operator=(const TSsmSwp& aSwp); |
|
36 IMPORT_C TBool operator==(const TSsmSwp& aSwp) const; |
|
37 IMPORT_C TBool operator!=(const TSsmSwp& aSwp) const; |
|
38 |
|
39 private: |
|
40 TSsmSwp(); |
|
41 |
|
42 private: |
|
43 TUint iKey; |
|
44 TInt32 iValue; |
|
45 }; |
|
46 |
|
47 #endif |