|
1 /* |
|
2 * Copyright (c) 2002-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: An observer for bluetooth SIM Access Profile changes |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef VPBKSIMSTOREIMPL_MSIMSTATUSOBSERVER_H |
|
20 #define VPBKSIMSTOREIMPL_MSIMSTATUSOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 |
|
25 namespace VPbkSimStoreImpl { |
|
26 |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * An observer for bluetooth SIM Access Profile changes |
|
32 * |
|
33 */ |
|
34 NONSHARABLE_CLASS( MSimStatusObserver ) |
|
35 { |
|
36 public: // New functions |
|
37 |
|
38 /** |
|
39 * Called when SIM status has changed to OK |
|
40 */ |
|
41 virtual void SimStatusOk() = 0; |
|
42 |
|
43 /** |
|
44 * Called when SIM status has changed to NOT OK. |
|
45 */ |
|
46 virtual void SimStatusNotOk() = 0; |
|
47 |
|
48 /** |
|
49 * Called when SIM status has changed to UNINITIALIZED. |
|
50 */ |
|
51 virtual void SimStatusUninitialized() = 0; |
|
52 |
|
53 /** |
|
54 * Called when notifcation ends to error |
|
55 * |
|
56 * @param aError a system wide error code |
|
57 */ |
|
58 virtual void SimStatusNotificationError( TInt aError ) = 0; |
|
59 |
|
60 protected: // Constructors and destructor |
|
61 |
|
62 /** |
|
63 * Destructor. |
|
64 */ |
|
65 virtual ~MSimStatusObserver() {} |
|
66 }; |
|
67 } // namespace VPbkSimStoreImpl |
|
68 #endif // VPBKSIMSTOREIMPL_MSIMSTATUSOBSERVER_H |
|
69 |
|
70 // End of File |