diff -r 000000000000 -r 845549f293a7 voicerecorder/RecViewSrc/MVRUpdateEventProvider.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/voicerecorder/RecViewSrc/MVRUpdateEventProvider.h Thu Dec 17 08:46:57 2009 +0200 @@ -0,0 +1,54 @@ +/* +* Copyright (c) 2002-2006 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: +* MVRUpdateEventProvider provides an interface for registering +* and unregistering several MVRObserver derived observers +* +*/ + + +#ifndef __MVRUPDATEEVENTPROVIDER_H +#define __MVRUPDATEEVENTPROVIDER_H + +// INCLUDES +#include + +#include "MVRObserver.h" + +// CLASS DECLARATION + +/** +* MVRUpdateEventProvider provides an interface for registering +* and unregistering several MVRObserver derived observers +* +*/ +class MVRUpdateEventProvider + { + public: + /** + * Registers an observer for receiving update notifications. + * @param aObserver The observer object. + */ + virtual void RegisterObserver( MVRObserver* aObserver ) = 0; + + /** + * Unregisters a previously registered observer + * @param aObserver The observer object. + */ + virtual void UnregisterObserver( MVRObserver* aObserver ) = 0; + }; + +#endif // __MVRUPDATEEVENTPROVIDER_H + +// End of File