|
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 AIFWTESTPLUGIN7_H |
|
20 #define AIFWTESTPLUGIN7_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include "aicontentpublisher.h" |
|
25 #include "aicontentmodel.h" |
|
26 #include "aipropertyextension.h" |
|
27 #include "aieventhandlerextension.h" |
|
28 |
|
29 // CONSTANTS |
|
30 |
|
31 // MACROS |
|
32 |
|
33 // DATA TYPES |
|
34 |
|
35 // FUNCTION PROTOTYPES |
|
36 |
|
37 // FORWARD DECLARATIONS |
|
38 class MAiContentObserver; |
|
39 |
|
40 // CLASS DECLARATION |
|
41 |
|
42 /** |
|
43 * ?one_line_short_description. |
|
44 * ?other_description_lines |
|
45 * |
|
46 * @lib ?library |
|
47 * @since Series ?XX ?SeriesXX_version |
|
48 */ |
|
49 class CAiFwTestContentPlugin7 : public CAiContentPublisher, |
|
50 public MAiPropertyExtension, |
|
51 public MAiEventHandlerExtension |
|
52 { |
|
53 public: // Constructors and destructor |
|
54 static CAiFwTestContentPlugin7* NewL(); |
|
55 ~CAiFwTestContentPlugin7(); |
|
56 |
|
57 public: // from CAiContentPublisher |
|
58 void Resume(TAiTransitionReason aReason); |
|
59 void Suspend(TAiTransitionReason aReason); |
|
60 void Stop(TAiTransitionReason aReason); |
|
61 void SubscribeL(MAiContentObserver& aObserver); |
|
62 void ConfigureL(RAiSettingsItemArray& aSettings); |
|
63 TAny* Extension(TUid aUid); |
|
64 |
|
65 public: // from MAiPropertyExtension |
|
66 virtual TAny* GetPropertyL(TInt aProperty); |
|
67 virtual void SetPropertyL(TInt aProperty, TAny* aValue); |
|
68 |
|
69 public: // from MAiEventHandlerExtension |
|
70 void HandleEvent(TInt aEvent, const TDesC& aParam); |
|
71 |
|
72 private: |
|
73 CAiFwTestContentPlugin7(); |
|
74 void ConstructL(); |
|
75 static TInt Callback(TAny* aPtr); |
|
76 |
|
77 private: // Data |
|
78 |
|
79 TAiPublisherInfo* iInfo; |
|
80 |
|
81 TBool iLeaveOrNull; |
|
82 |
|
83 }; |
|
84 |
|
85 #endif // ?CLASSNAME_H |
|
86 |
|
87 // End of File. |