diff -r 73a1feb507fb -r bc78a40cd63c mmsharing/mmshui/tsrc/ut_ui/inc/musuicallbackobserveradapter.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmsharing/mmshui/tsrc/ut_ui/inc/musuicallbackobserveradapter.h Wed Sep 01 12:31:01 2010 +0100 @@ -0,0 +1,81 @@ +/* +* Copyright (c) 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: +* +*/ + + + +#ifndef UT_MUSUIOBSERVERSSTUB_H +#define UT_MUSUIOBSERVERSSTUB_H + + +#include "musuiclipsharingobserver.h" +#include "musuipropertyobserver.h" +#include "musuicallbackobserver.h" + + +#include +#include + + +/** +* +* @lib musengine.lib +* @since S60 v3.2 +*/ +class CMusUiCallbackObserverAdapter : public CBase, + public MMusUiCallbackObserver + { + + + + public: + + CMusUiCallbackObserverAdapter(); + + ~CMusUiCallbackObserverAdapter(); + + + + + //virtual void HandleError( const TInt aReason ) = 0; + + public: // MMusUiCallbackObserver + + void HandleAsyncEventL( TMusUiAsyncEvent aEventId ); + + + public: // data + + enum TMusUiCallbackObserverFunction + { + ENone, // default value + EHandleAsyncEventL + }; + + + + TMusUiCallbackObserverFunction iCalledObserver; + TInt iErrorCode; + + TMusUiAsyncEvent iHandleAsyncEventId; + + }; + + + + +#endif // UT_MUSSTUBS_H +