ImagePrint/ImagePrintEngine/DeviceProtocols/upnpprotocolfw2/inc/cupfilesharingactive.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-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: Declares CUPFileSharingActive class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CUPFILESHARINGACTIVE_H |
|
20 #define CUPFILESHARINGACTIVE_H |
|
21 |
|
22 #include <e32std.h> |
|
23 #include <e32base.h> |
|
24 |
|
25 class CUpnpFileSharing; |
|
26 class CUpnpItem; |
|
27 |
|
28 class CUPFileSharingActive : public CActive |
|
29 { |
|
30 |
|
31 public: |
|
32 |
|
33 static CUPFileSharingActive* NewL(); |
|
34 |
|
35 ~CUPFileSharingActive(); |
|
36 |
|
37 private: // Constructors |
|
38 |
|
39 CUPFileSharingActive(); |
|
40 |
|
41 void ConstructL(); |
|
42 |
|
43 protected: // from CActive |
|
44 |
|
45 void RunL(); |
|
46 |
|
47 void DoCancel(); |
|
48 |
|
49 TInt RunError( TInt aError ); |
|
50 |
|
51 public: // New Functions |
|
52 |
|
53 void ShareItemL( CUpnpItem& aItem ); |
|
54 |
|
55 void UnshareItemL( TInt aId ); |
|
56 |
|
57 void GetSharedItemL( TInt aId, CUpnpItem& aItem ); |
|
58 |
|
59 private: // data |
|
60 |
|
61 CUpnpFileSharing* iFileSharing; |
|
62 |
|
63 }; |
|
64 |
|
65 #endif // CUPFILESHARINGACTIVE_H |
|
66 |
|
67 // End of File |