diff -r c742e1129640 -r aa33c2cb9a50 devicemgmtindicatorsplugin/inc/dmpronoteindicators.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/devicemgmtindicatorsplugin/inc/dmpronoteindicators.h Tue Jul 06 14:06:19 2010 +0300 @@ -0,0 +1,73 @@ +/* + * Copyright (c) 2009 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: DM Progress and Notification Indicators classes + * + */ + +#ifndef DMINDICATORS_H +#define DMINDICATORS_H + +#include +#include +#include + +/** + * DM Progress and Notification indicators class. + * Handles client request and showing the indications. + */ +class DMProNoteIndicator : public DMIndicator + { +public: + /** + * Constructor + */ + DMProNoteIndicator(const QString &indicatorType, + HbIndicatorInterface::Category category, + HbIndicatorInterface::InteractionTypes interactionTypes); + + /** + * @see HbIndicatorInterface + */ + bool handleInteraction(InteractionType type); + + /** + * @see HbIndicatorInterface + */ + QVariant indicatorData(int role) const; + + }; + +/** + * Scomo Progress and Notification indicators class. + * Handles client request and showing the indications. + */ +class ScomoProNoteIndicator : public DMProNoteIndicator + { +public: + /** + * Constructor + */ + ScomoProNoteIndicator(const QString &indicatorType, + HbIndicatorInterface::Category category, + HbIndicatorInterface::InteractionTypes interactionTypes); + + /** + * @see HbIndicatorInterface + */ + bool handleInteraction(InteractionType type); + + }; + + +#endif // DMINDICATORS_H