diff -r 9e077f9a342c -r 2c7f27287390 idlefw/tsrc/framework/mt_aifw/AiFwTestContentPlugin9.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/idlefw/tsrc/framework/mt_aifw/AiFwTestContentPlugin9.h Thu Jul 15 18:59:18 2010 +0300 @@ -0,0 +1,87 @@ +/* +* Copyright (c) 2002-2004 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: ?Description +* +*/ + + +#ifndef AIFWTESTPLUGIN9_H +#define AIFWTESTPLUGIN9_H + +// INCLUDES +#include +#include "aicontentpublisher.h" +#include "aicontentmodel.h" +#include "aipropertyextension.h" +#include "aieventhandlerextension.h" + +// CONSTANTS + +// MACROS + +// DATA TYPES + +// FUNCTION PROTOTYPES + +// FORWARD DECLARATIONS +class MAiContentObserver; + +// CLASS DECLARATION + +/** + * ?one_line_short_description. + * ?other_description_lines + * + * @lib ?library + * @since Series ?XX ?SeriesXX_version + */ +class CAiFwTestContentPlugin9 : public CAiContentPublisher, + public MAiPropertyExtension, + public MAiEventHandlerExtension +{ +public: // Constructors and destructor + static CAiFwTestContentPlugin9* NewL(); + ~CAiFwTestContentPlugin9(); + +public: // from CAiContentPublisher + void Resume(TAiTransitionReason aReason); + void Suspend(TAiTransitionReason aReason); + void Stop(TAiTransitionReason aReason); + void SubscribeL(MAiContentObserver& aObserver); + void ConfigureL(RAiSettingsItemArray& aSettings); + TAny* Extension(TUid aUid); + +public: // from MAiPropertyExtension + virtual TAny* GetPropertyL(TInt aProperty); + virtual void SetPropertyL(TInt aProperty, TAny* aValue); + +public: // from MAiEventHandlerExtension + void HandleEvent(TInt aEvent, const TDesC& aParam); + +private: + CAiFwTestContentPlugin9(); + void ConstructL(); + static TInt Callback(TAny* aPtr); + +private: // Data + + TAiPublisherInfo* iInfo; + + TBool iLeaveOrNull; + +}; + +#endif // ?CLASSNAME_H + +// End of File.