idlefw/tsrc/framework/mt_aifw/AiFwTestContentPlugin8.h
branchRCL_3
changeset 27 2c7f27287390
equal deleted inserted replaced
25:9e077f9a342c 27:2c7f27287390
       
     1 /*
       
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef AIFWTESTPLUGIN8_H
       
    20 #define AIFWTESTPLUGIN8_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 #include "aicontentpublisher.h"
       
    25 #include "aipropertyextension.h"
       
    26 #include "aieventhandlerextension.h"
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // MACROS
       
    31 
       
    32 // DATA TYPES
       
    33 
       
    34 // FUNCTION PROTOTYPES
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 class MAiContentObserver;
       
    38 
       
    39 // CLASS DECLARATION
       
    40 
       
    41 /**
       
    42  *  ?one_line_short_description.
       
    43  *  ?other_description_lines
       
    44  *
       
    45  *  @lib ?library
       
    46  *  @since Series ?XX ?SeriesXX_version
       
    47  */
       
    48 class CAiFwTestContentPlugin8 : public CAiContentPublisher,
       
    49 							   public MAiPropertyExtension,
       
    50 							   public MAiEventHandlerExtension
       
    51 {
       
    52 public:   // Constructors and destructor
       
    53     static CAiFwTestContentPlugin8* NewL();
       
    54     ~CAiFwTestContentPlugin8();
       
    55 
       
    56 public:  // from CAiContentPublisher
       
    57     void Resume(TAiTransitionReason aReason);
       
    58     void Suspend(TAiTransitionReason aReason);
       
    59     void Stop(TAiTransitionReason aReason);
       
    60     void SubscribeL(MAiContentObserver& aObserver);
       
    61     void ConfigureL(RAiSettingsItemArray& aSettings);
       
    62     TAny* Extension(TUid aUid);
       
    63 
       
    64 public:  // from MAiPropertyExtension
       
    65     virtual TAny* GetPropertyL(TInt aProperty);
       
    66     virtual void SetPropertyL(TInt aProperty, TAny* aValue);
       
    67     
       
    68 public:  // from MAiEventHandlerExtension
       
    69     void HandleEvent(TInt aEvent, const TDesC& aParam);
       
    70 
       
    71 private:
       
    72     CAiFwTestContentPlugin8();
       
    73     void ConstructL();
       
    74     static TInt Callback(TAny* aPtr);
       
    75 
       
    76 private:     // Data
       
    77 
       
    78     TBool iFirstExt;
       
    79 
       
    80 };
       
    81 
       
    82 #endif      // ?CLASSNAME_H
       
    83 
       
    84 // End of File.