diff -r 000000000000 -r 8c5d936e5675 gsprofilesrv_plat/settings_backgroundimage_api/inc/MGsAsyncImageHandlingObserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsprofilesrv_plat/settings_backgroundimage_api/inc/MGsAsyncImageHandlingObserver.h Thu Dec 17 08:52:52 2009 +0200 @@ -0,0 +1,47 @@ +/* +* Copyright (c) 2005 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: +* Observer class for asynchronous image handling. +* +*/ + + + +#ifndef MGS_ASYNC_IMAGE_HANDLING_OBSERVER_H +#define MGS_ASYNC_IMAGE_HANDLING_OBSERVER_H + +// INCLUDES +#include + +// CLASS DECLARATION +/** +* Pure virtual observer class to notify events from CGSAsyncImageHandling. +* +* @lib GsEngine.lib +*/ +class MGSAsyncImageHandlingObserver + { + public: // New functions + + /** + * Notifies that image handling is complete. + * image handling involves loading, scaling and dithering + * @param aError Error value if something went wrong. + */ + virtual void ImageHandlingCompleteL( TInt aError ) = 0; + }; + +#endif // MGS_ASYNC_IMAGE_HANDLING_OBSERVER_H + +// End of File \ No newline at end of file