equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef _ALFRSUAPI_H_ |
18 #ifndef _ALFRSUAPI_H_ |
19 #define _ALFRSUAPI_H_ |
19 #define _ALFRSUAPI_H_ |
|
20 |
|
21 #include <e32std.h> |
|
22 |
|
23 class MWsWindowTreeNode; |
20 |
24 |
21 const TInt KAlfCompositionAgnosticWindowTreeObserverInterfaceId(0x2002BCFB); |
25 const TInt KAlfCompositionAgnosticWindowTreeObserverInterfaceId(0x2002BCFB); |
22 |
26 |
23 class MAlfCompositionAgnosticWindowTreeObserver |
27 class MAlfCompositionAgnosticWindowTreeObserver |
24 { |
28 { |
76 virtual void TransparentRegionChanged(const MWsWindowTreeNode& aWindowTreeNode, const TRegion& aNewTransparentRegion, const TRegion* aNewOpaqueRegion) = 0; |
80 virtual void TransparentRegionChanged(const MWsWindowTreeNode& aWindowTreeNode, const TRegion& aNewTransparentRegion, const TRegion* aNewOpaqueRegion) = 0; |
77 //virtual void ElementAdded(const MWsWindowTreeNode& aWindowTreeNode, const TRect& aElement) = 0; |
81 //virtual void ElementAdded(const MWsWindowTreeNode& aWindowTreeNode, const TRect& aElement) = 0; |
78 virtual void MovedToWindowGroup(const MWsWindowTreeNode& aWindowTreeNode, const MWsWindowTreeNode& aNewWindowGroupNode) = 0; |
82 virtual void MovedToWindowGroup(const MWsWindowTreeNode& aWindowTreeNode, const MWsWindowTreeNode& aNewWindowGroupNode) = 0; |
79 virtual void WindowGroupChained(const MWsWindowTreeNode& aParent, const MWsWindowTreeNode& aChild) = 0; |
83 virtual void WindowGroupChained(const MWsWindowTreeNode& aParent, const MWsWindowTreeNode& aChild) = 0; |
80 virtual void WindowGroupChainBrokenAfter(const MWsWindowTreeNode& aWindowGroupNode) = 0; |
84 virtual void WindowGroupChainBrokenAfter(const MWsWindowTreeNode& aWindowGroupNode) = 0; |
81 virtual void FadeAllChildren(const MWsWindowTreeNode& aWindowTreeNode, TBool aFaded) = 0; |
85 virtual void FadeAllChildren(const MWsWindowTreeNode& aWindowTreeNode, TBool aFaded) = 0; |
82 }; |
86 }; |
83 |
87 |
84 class RAlfBridgerClient; |
88 class RAlfBridgerClient; |
85 |
89 |
86 class MAlfBridge |
90 class MAlfBridge |
97 virtual void CommitL() = 0; |
101 virtual void CommitL() = 0; |
98 virtual void WriteIntsL(TUint8 aCommand, TInt aCount, TInt* aArray) = 0; |
102 virtual void WriteIntsL(TUint8 aCommand, TInt aCount, TInt* aArray) = 0; |
99 virtual RAlfBridgerClient* Client() = 0; |
103 virtual RAlfBridgerClient* Client() = 0; |
100 }; |
104 }; |
101 |
105 |
|
106 /** |
|
107 * Synchronization interface |
|
108 */ |
|
109 class MAlfSynchronizationInterface |
|
110 { |
|
111 public: |
|
112 /** |
|
113 * Start synchronization. |
|
114 * @param aId This will contain identifier for this synchronization. |
|
115 * @return error code, KErrNone if synchronization is started. |
|
116 */ |
|
117 virtual TInt Synchronize(TInt& aId) = 0; |
|
118 }; |
|
119 |
|
120 /** |
|
121 * Use this UID as parameter when resolving MAlfSynchronizationInterface |
|
122 * interface. |
|
123 */ |
|
124 const TUint32 KAlfSynchronizationInterfaceUid = 0x2002C357; |
|
125 |
|
126 /** |
|
127 * Category for P&S variable for synchronization finished indication. |
|
128 */ |
|
129 const TUid KAlfPSUidSynchronizer = { 0x10003B20 }; |
|
130 |
|
131 /** |
|
132 * Key for P&S variable for synchronization finished indication. |
|
133 */ |
|
134 const TUint32 KAlfPSKeySynchronizer = 0x2002C357; |
|
135 |
102 #endif // _ALFRSUAPI_H_ |
136 #endif // _ALFRSUAPI_H_ |