diff -r 3785f754ee62 -r 5360b7ddc251 upnpsharing/upnpcontentserver/inc/upnpsharingcallback.h --- a/upnpsharing/upnpcontentserver/inc/upnpsharingcallback.h Fri Sep 17 08:31:21 2010 +0300 +++ b/upnpsharing/upnpcontentserver/inc/upnpsharingcallback.h Mon Nov 01 12:37:49 2010 +0200 @@ -1,80 +1,81 @@ -/* -* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Callback for filesharing related async operations -* -*/ - - - - - - -#ifndef __UPNPSHARINGCALLBACK_H__ -#define __UPNPSHARINGCALLBACK_H__ - -// INCLUDE FILES -#include -#include - - -/** - * Callback class for informing about completion of unsharing, sharing and - * container checking. - * @since S60 3.1 - */ -class MUpnpSharingCallback - { -public: - /** - * Enumeration for stop type - */ - enum TSharingStopType - { - ESharingNoStop, - ESharingFullStop, - ESharingPause - }; - - /** - * Completes the asynchronous sharing / unsharing / container checking - * Normal completion - * @since S60 3.1 - */ - virtual void CompleteSharingOperationL( - const TInt& aErr, const TInt& aType ) = 0; - - /** - * Completes the asynchronous sharing / unsharing / container checking - * Error/cancel situation - * @since S60 3.1 - */ - virtual void CancelSharingOperationL( - const TInt& aErr ) = 0; - - /** - * Sets the progress of operation - * @since S60 3.1 - */ - virtual void SetProgressL( - const TInt& aProgress ) = 0; - - /** - * Virtual destructor - */ - virtual ~MUpnpSharingCallback() {}; - }; - -#endif //__UPNPSHARINGCALLBACK_H__ - -// End of File +/* +* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Callback for filesharing related async operations +* +*/ + + + + + + +#ifndef __UPNPSHARINGCALLBACK_H__ +#define __UPNPSHARINGCALLBACK_H__ + +// INCLUDE FILES +#include +#include + +#include "upnpcontentserverdefs.h" + +/** + * Callback class for informing about completion of unsharing, sharing and + * container checking. + * @since S60 3.1 + */ +class MUpnpSharingCallback + { +public: + /** + * Enumeration for stop type + */ + enum TSharingStopType + { + ESharingNoStop, + ESharingFullStop, + ESharingPause + }; + + /** + * Completes the asynchronous sharing / unsharing / container checking + * Normal completion + * @since S60 3.1 + */ + virtual void CompleteSharingOperationL( + const TInt& aErr, const TInt& aType ) = 0; + + /** + * Completes the asynchronous sharing / unsharing / container checking + * Error/cancel situation + * @since S60 3.1 + */ + virtual void CancelSharingOperationL( + const TInt& aErr ) = 0; + + /** + * Sets the progress of operation + * @since S60 3.1 + */ + virtual void SetProgressL( + const TInt& aProgress ) = 0; + + /** + * Virtual destructor + */ + virtual ~MUpnpSharingCallback() {}; + }; + +#endif //__UPNPSHARINGCALLBACK_H__ + +// End of File