|
1 /* |
|
2 * Copyright (c) 2002-2004 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: Observer class for call back functions from ASY to Server side |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MASYPROXYOBSERVER_H |
|
20 #define MASYPROXYOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32svr.h> |
|
24 #include <e32base.h> |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 // MACROS |
|
29 |
|
30 // DATA TYPES |
|
31 |
|
32 // FUNCTION PROTOTYPES |
|
33 |
|
34 // FORWARD DECLARATIONS |
|
35 |
|
36 // CLASS DECLARATION |
|
37 |
|
38 /** |
|
39 * Observer class for call back functions from ASY to Server |
|
40 * |
|
41 * @lib AccServer.exe |
|
42 * @since S60 3.1 |
|
43 */ |
|
44 NONSHARABLE_CLASS( MASYProxyObserver ) |
|
45 { |
|
46 public: // Constructors and destructor |
|
47 |
|
48 public: // New functions |
|
49 |
|
50 /** |
|
51 * Callback function for handling completion of loading ASY |
|
52 * @since S60 3.1 |
|
53 * @param aASYIndex Index of the ASY |
|
54 * @param aAllASYsComplete Indicating if all ASYs loading is completed |
|
55 * @return void |
|
56 */ |
|
57 virtual void LoadCompleteL( |
|
58 const TInt aASYIndex, |
|
59 const TBool aAllASYsComplete = EFalse ) = 0; |
|
60 |
|
61 /** |
|
62 * Callback function for handling kill of ASY |
|
63 * @since S60 3.1 |
|
64 * @param aASYIndex Index of the ASY |
|
65 * @return void |
|
66 */ |
|
67 virtual void ThreadKills( const TInt aASYIndex ) = 0; |
|
68 |
|
69 /** |
|
70 * Callback function for handling time out of ASY loading |
|
71 * @since S60 3.1 |
|
72 * @param void |
|
73 * @return void |
|
74 */ |
|
75 virtual void LoadingTimedOutL() = 0; |
|
76 |
|
77 public: // Functions from base classes |
|
78 |
|
79 protected: // New functions |
|
80 |
|
81 protected: // Functions from base classes |
|
82 |
|
83 private: |
|
84 |
|
85 public: // Data |
|
86 |
|
87 protected: // Data |
|
88 |
|
89 private: // Data |
|
90 |
|
91 public: // Friend classes |
|
92 |
|
93 protected: // Friend classes |
|
94 |
|
95 private: // Friend classes |
|
96 }; |
|
97 |
|
98 #endif // MASYPROXYOBSERVER_H |
|
99 |
|
100 // End of File |