diff -r 8173571d354e -r 1fc85118c3ae eventsui/eventsengine/inc/evtmgmtuilbtobserver.h --- a/eventsui/eventsengine/inc/evtmgmtuilbtobserver.h Thu Aug 19 09:48:36 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ -/* -* Copyright (c) 2008 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: It is observer class to handle lbt operations -* -*/ - - -#ifndef EVTMGMTUILBTOBSERVER_H_ -#define EVTMGMTUILBTOBSERVER_H_ - -#include // CBase - -#include - -class MEvtMgmtUiLbtObserver - { -public: - /* - * Type of Trigger Change - */ - enum TLbtTriggerChangeType - { - /* - * If multiple triggers are modified - */ - ETriggerMultipleModified, - /* - * If a trigger is modified - */ - ETriggerModified, - /* - * If a trigger is deleted - */ - ETriggerDeleted - }; -public: - /** - * It will be used to notify observer that the trigger which is - * owned by EventsUi has been modified outside, either by Manger Ui - * or Event Handler - * @param aTriggerId trigger id of newly created trigger - * @param aType It will contain type of trigger change - */ - virtual void NotifyTriggerChangeL( const TLbtTriggerId & aTriggerId, - TLbtTriggerChangeType aType )=0; - - /** - * It will be used to notify observer that lbt operation - * has be completed - * @param aTriggerId trigger id of newly created trigger - * @param aState It will contain the the operation type - */ - virtual void NotifyLbtChangeL(TLbtTriggerId & aTriggerId,TInt aState )=0; - - /** - * It will be used to notify observer that lbt operation - * has be failed - * @param aState It will contain the the operation type - * @param aErrorCode It will contain the status of the operation - * KErrNone if successful otherwise error status code - */ - virtual void NotifyLbtError(TInt aErrorCode, TInt aState )=0; - }; - - - -#endif //EVTMGMTUILBTOBSERVER_H_ \ No newline at end of file