equal
deleted
inserted
replaced
|
1 /** @file |
|
2 * Copyright (c) 2005-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: CUpnpNetworkEventBase |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_UPNPNETWORKEVENTBASE_H |
|
19 #define C_UPNPNETWORKEVENTBASE_H |
|
20 |
|
21 // Includes |
|
22 #include <e32base.h> |
|
23 #include <upnpconnmanagereventtypes.h> |
|
24 |
|
25 |
|
26 /** |
|
27 * Base class for network events |
|
28 * @since S60 5.0 |
|
29 **/ |
|
30 class CUpnpNetworkEventBase : public CBase |
|
31 { |
|
32 public: |
|
33 |
|
34 /** |
|
35 * Constructor |
|
36 * @since S60 5.0 |
|
37 * @param error |
|
38 */ |
|
39 CUpnpNetworkEventBase( TInt aError ); |
|
40 |
|
41 /** |
|
42 * Constructor |
|
43 * @since S60 5.0 |
|
44 * @param network event type |
|
45 */ |
|
46 CUpnpNetworkEventBase( TUpnpCmSubRsp aType ); |
|
47 |
|
48 /** |
|
49 * Getter for network event type |
|
50 * @since S60 5.0 |
|
51 * @return Type |
|
52 */ |
|
53 IMPORT_C TUpnpCmSubRsp Type(); |
|
54 |
|
55 /** |
|
56 * Getter for network event error |
|
57 * @since S60 5.0 |
|
58 * @return error |
|
59 */ |
|
60 IMPORT_C TInt SubscriberError(); |
|
61 |
|
62 protected: // Data |
|
63 |
|
64 // Network event type |
|
65 TUpnpCmSubRsp iType; |
|
66 |
|
67 // Subscription error |
|
68 TInt iSubscriberError; |
|
69 |
|
70 }; |
|
71 |
|
72 #endif // C_UPNPNETWORKEVENTBASE_H |
|
73 |
|
74 // End of file |
|
75 |