diff -r 8ee96d21d9bf -r 7e0eff37aedb 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 Wed Sep 01 12:20:44 2010 +0100 @@ -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