equal
deleted
inserted
replaced
|
1 /** @file |
|
2 * Copyright (c) 2007-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: Dispacther parent interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_MUpnpDiscoveryObserver_H |
|
20 #define C_MUpnpDiscoveryObserver_H |
|
21 |
|
22 // FORWARD DECLARATIONS |
|
23 class CUpnpDevice; |
|
24 |
|
25 /** |
|
26 @brief An interface from dispatcher to its parent (device/control point) |
|
27 |
|
28 This interface class is used to provide an interface from dispather to |
|
29 its users. |
|
30 */ |
|
31 class MUpnpDiscoveryObserver |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * This function is used by dispatcher to get the path of the messages coming |
|
36 * to this dispatcher. |
|
37 * @return The path identifying the parent of the dispatcher |
|
38 */ |
|
39 virtual const TDesC8 & Path() = 0; |
|
40 |
|
41 /** |
|
42 * Device found |
|
43 * @param aDevice which has been found |
|
44 */ |
|
45 virtual void DeviceFoundL( CUpnpDevice& aDevice ) = 0; |
|
46 |
|
47 /** |
|
48 * Device lost |
|
49 * @param aDevice which has been lost |
|
50 */ |
|
51 virtual void DeviceLostL( CUpnpDevice& aDevice ) = 0; |
|
52 }; |
|
53 |
|
54 #endif // C_MUpnpDiscoveryObserver_H |
|
55 |
|
56 // End of File |