equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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: Callback for filesharing related async operations |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifndef __UPNPSHARINGCALLBACK_H__ |
|
24 #define __UPNPSHARINGCALLBACK_H__ |
|
25 |
|
26 // INCLUDE FILES |
|
27 #include <e32base.h> |
|
28 #include <badesca.h> |
|
29 |
|
30 |
|
31 /** |
|
32 * Callback class for informing about completion of unsharing, sharing and |
|
33 * container checking. |
|
34 * @since S60 3.1 |
|
35 */ |
|
36 class MUpnpSharingCallback |
|
37 { |
|
38 public: |
|
39 /** |
|
40 * Enumeration for stop type |
|
41 */ |
|
42 enum TSharingStopType |
|
43 { |
|
44 ESharingNoStop, |
|
45 ESharingFullStop, |
|
46 ESharingPause |
|
47 }; |
|
48 |
|
49 /** |
|
50 * Completes the asynchronous sharing / unsharing / container checking |
|
51 * Normal completion |
|
52 * @since S60 3.1 |
|
53 */ |
|
54 virtual void CompleteSharingOperationL( |
|
55 const TInt& aErr, const TInt& aType ) = 0; |
|
56 |
|
57 /** |
|
58 * Completes the asynchronous sharing / unsharing / container checking |
|
59 * Error/cancel situation |
|
60 * @since S60 3.1 |
|
61 */ |
|
62 virtual void CancelSharingOperationL( |
|
63 const TInt& aErr ) = 0; |
|
64 |
|
65 /** |
|
66 * Sets the progress of operation |
|
67 * @since S60 3.1 |
|
68 */ |
|
69 virtual void SetProgressL( |
|
70 const TInt& aProgress ) = 0; |
|
71 |
|
72 /** |
|
73 * Virtual destructor |
|
74 */ |
|
75 virtual ~MUpnpSharingCallback() {}; |
|
76 }; |
|
77 |
|
78 #endif //__UPNPSHARINGCALLBACK_H__ |
|
79 |
|
80 // End of File |