|
1 /* |
|
2 * Copyright (c) 2003 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: For launching SwimReader |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CSWIMREADERLAUNCHER_H |
|
20 #define CSWIMREADERLAUNCHER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "ScardReaderLauncher.h" |
|
24 |
|
25 /** |
|
26 * Launcher class |
|
27 * |
|
28 * |
|
29 * @lib SwimReader.lib |
|
30 * @since Series60 2.1 |
|
31 */ |
|
32 class CSwimReaderLauncher : public MScardReaderLauncher, public CBase |
|
33 { |
|
34 public: // Constructors and destructor |
|
35 |
|
36 /** |
|
37 * C++ default constructor. |
|
38 */ |
|
39 CSwimReaderLauncher(); |
|
40 |
|
41 /** |
|
42 * Destructor. |
|
43 */ |
|
44 virtual ~CSwimReaderLauncher(); |
|
45 |
|
46 public: // New functions |
|
47 |
|
48 /** |
|
49 * Symbian 2nd phase constructor |
|
50 */ |
|
51 void ConstructL( MScardReaderService* aService ); |
|
52 |
|
53 /** |
|
54 * Delete reader |
|
55 * @param aReader Reader ID to be deleted |
|
56 * @return void |
|
57 */ |
|
58 void DeleteReader( TReaderID aReaderID ); |
|
59 |
|
60 /** |
|
61 * Create new reader object |
|
62 * @param aReaderID reader's ID |
|
63 * @return pointer to created Scard reader |
|
64 */ |
|
65 MScardReader* CreateReaderL( TReaderID aReaderID ); |
|
66 |
|
67 private: // Data |
|
68 // Pointer to reader object. Owned. |
|
69 MScardReader* iReader; |
|
70 // Pointer to reader service object. Not owned. |
|
71 MScardReaderService* iService; |
|
72 }; |
|
73 |
|
74 #endif // CSWIMREADERLAUNCHER_H |
|
75 |
|
76 // End of File |