equal
deleted
inserted
replaced
|
1 /******************************************************************************* |
|
2 * Copyright (c) 2005, 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. This program and the accompanying materials |
|
4 * are made available under the terms of the Eclipse Public License v1.0 |
|
5 * which accompanies this distribution, and is available at |
|
6 * http://www.eclipse.org/legal/epl-v10.html |
|
7 * |
|
8 * Contributors: |
|
9 * Nokia Corporation - S60 implementation |
|
10 *******************************************************************************/ |
|
11 |
|
12 |
|
13 #ifndef SWTINPUT_H |
|
14 #define SWTINPUT_H |
|
15 |
|
16 |
|
17 #include "eswtmobileextensions.h" |
|
18 |
|
19 |
|
20 /** |
|
21 * CSwtInput |
|
22 * @lib eswt |
|
23 */ |
|
24 NONSHARABLE_CLASS(CSwtInput) |
|
25 : public CBase |
|
26 , public MSwtInput |
|
27 { |
|
28 // Own methods |
|
29 public: |
|
30 static CSwtInput* NewL(TSwtPeer aPeer, TInt aId); |
|
31 |
|
32 private: |
|
33 inline CSwtInput(TSwtPeer aPeer, TInt aId); |
|
34 ~CSwtInput(); |
|
35 |
|
36 // From MSwtInput |
|
37 public: |
|
38 TSwtPeer Dispose(); |
|
39 TInt GetLocation(); |
|
40 TInt GetType(); |
|
41 |
|
42 // Data |
|
43 private: |
|
44 TSwtPeer iPeer; |
|
45 TInt iType; |
|
46 TInt iLocation; |
|
47 }; |
|
48 |
|
49 |
|
50 #endif // SWTINPUT_H |