diff -r e7f64b6bf69e -r 831068540b07 usbuis/usbindicatorplugin/inc/usbaddressedindicator.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usbuis/usbindicatorplugin/inc/usbaddressedindicator.h Mon May 17 11:03:15 2010 +0300 @@ -0,0 +1,70 @@ +/* +* 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: +* +*/ + +#ifndef USBADDRESSEDINDICATOR_H +#define USBADDRESSEDINDICATOR_H + + +#include + +/** + * USB indicator class. + * Handles client request and showing the indications. + */ +class UsbAddressedIndicator : public HbIndicatorInterface +{ + friend class TestUsbIndicatorPlugin; + +public: + /** + * Constructor + */ + UsbAddressedIndicator(const QString &indicatorType); + + /** + * Destructor + */ + ~UsbAddressedIndicator(); + + /** + * @see HbIndicatorInterface + */ + bool handleInteraction(InteractionType type); + + /** + * @see HbIndicatorInterface + */ + QVariant indicatorData(int role) const; + + +protected: + /** + * @see HbIndicatorInterface + */ + bool handleClientRequest(RequestType type, const QVariant ¶meter); + +private: + + QString mSecDisplayName; + +}; + +#endif /* USBADDRESSEDINDICATOR_H */ + + + +