equal
deleted
inserted
replaced
|
1 /* |
|
2 * Component Name: Headset Simulator |
|
3 * Author: Comarch S.A. |
|
4 * Version: 1.0 |
|
5 * Copyright (c) 2010 Comarch S.A. |
|
6 * |
|
7 * This Software is submitted by Comarch S.A. to Symbian Foundation Limited on |
|
8 * the basis of the Member Contribution Agreement entered between Comarch S.A. |
|
9 * and Symbian Foundation Limited on 5th June 2009 (“Agreement”) and may be |
|
10 * used only in accordance with the terms and conditions of the Agreement. |
|
11 * Any other usage, duplication or redistribution of this Software is not |
|
12 * allowed without written permission of Comarch S.A. |
|
13 * |
|
14 */ |
|
15 |
|
16 #ifndef HSOBSERVER_H |
|
17 #define HSOBSERVER_H |
|
18 |
|
19 /** |
|
20 * @brief Observer to notify about Headset Simulator AG client and Remote |
|
21 * Controller's states. |
|
22 */ |
|
23 class MHsObserver |
|
24 { |
|
25 |
|
26 public: |
|
27 /** |
|
28 * Informs about established connection with AG. |
|
29 */ |
|
30 virtual void HandleConnectedToClient() = 0; |
|
31 |
|
32 /** |
|
33 * Informs about released connection with AG. |
|
34 */ |
|
35 virtual void HandleDisconnectedFromClient() = 0; |
|
36 |
|
37 /** |
|
38 * Informs that connection with AG cannot be established. |
|
39 */ |
|
40 virtual void HandleUnableToConnectClient() = 0; |
|
41 |
|
42 /** |
|
43 * Informs that connection with AG is being established. |
|
44 */ |
|
45 virtual void HandleConnectingToClient() = 0; |
|
46 |
|
47 /** |
|
48 * Informs about established connection with Headset Simulator's |
|
49 * Remote Controller. |
|
50 */ |
|
51 virtual void HandleConnectedToRemoteController() = 0; |
|
52 |
|
53 /** |
|
54 * Informs about released connection with Headset Simulator's |
|
55 * Remote Controller. |
|
56 */ |
|
57 virtual void HandleDisconnectedFromRemoteController() = 0; |
|
58 |
|
59 }; |
|
60 |
|
61 #endif //HSOBSERVER_H |