diff -r 9b022b1f357c -r e0aa398e6810 contentstorage/casoftwareregistry/s60/inc/cauninstallobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contentstorage/casoftwareregistry/s60/inc/cauninstallobserver.h Wed Aug 18 10:05:49 2010 +0300 @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2010 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 : Content Arsenal client session + * + */ + +#ifndef CAUINSTALLOBSERVER_H_ +#define CAUINSTALLOBSERVER_H_ + +#include + +/** + * IDataObserver + * + */ +class IUninstallObserver +{ +public: + /** + * Method invoked when entry is changed. + * @param entryId entry id. + * @param changeType change type. + */ + virtual void progressChange(TInt componentId, + TInt valueOfProgress) const = 0; + +}; + + + +class CaUninstallObserver: public QObject, public IUninstallObserver +{ + Q_OBJECT +public: + /** + * Constructor. + * @param parent pointer to parent. Defaults to NULL. + */ + CaUninstallObserver(QObject *parent = 0); + + /** + * Destructor. + */ + ~CaUninstallObserver(); + + /** + * Method invoked when entry is changed. + * @param entryId entry id. + * @param changeType change type. + */ + void progressChange(TInt componentId, + TInt valueOfProgress) const; + + +signals: + + void signalprogressChange(int componentId, int valueOfProgress) const; +}; + + +#endif /* CAUINSTALLOBSERVER_H_ */