|
1 /* |
|
2 * Copyright (c) 2006 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: main callback interface for AVController client |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifndef M_UPNPAVDEVICEOBSERVER_H |
|
24 #define M_UPNPAVDEVICEOBSERVER_H |
|
25 |
|
26 // INCLUDES |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CUpnpAVDevice; |
|
30 |
|
31 /** |
|
32 * Defines the response interface for the device control operations of the |
|
33 * UPnP AV Controller. |
|
34 * |
|
35 * @since Series 60 3.1 |
|
36 */ |
|
37 class MUPnPAVDeviceObserver |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 /** |
|
43 * Notifies that a new UPnP device was discovered. |
|
44 * |
|
45 * UPnPAVController releases the memory allocated for aDevice |
|
46 * after calling the callback method. |
|
47 * |
|
48 * @since Series 60 3.1 |
|
49 * @param aDevice CUpnpDevice object |
|
50 * @return None |
|
51 */ |
|
52 virtual void UPnPDeviceDiscovered( const CUpnpAVDevice& aDevice ) = 0; |
|
53 |
|
54 /** |
|
55 * Notifies that a UPnP device was disappeared. |
|
56 * |
|
57 * UPnPAVController releases the memory allocated for aDevice |
|
58 * after calling the callback method. |
|
59 * |
|
60 * @since Series 60 3.1 |
|
61 * @param aDevice CUpnpDevice object |
|
62 * @return None |
|
63 */ |
|
64 virtual void UPnPDeviceDisappeared( const CUpnpAVDevice& aDevice ) = 0; |
|
65 |
|
66 /** |
|
67 * Notifies that the WLAN connection has been lost. All sessions |
|
68 * are now usable and must be closed. |
|
69 * |
|
70 * @since Series 60 3.1 |
|
71 * @return None |
|
72 */ |
|
73 virtual void WLANConnectionLost() = 0; |
|
74 |
|
75 }; |
|
76 |
|
77 #endif // M_UPNPAVDEVICEOBSERVER_H |
|
78 |
|
79 // End of File |