69 void QueueRequestSessionsL(TInt aAlfToken, const TPtrC8& aPtr, TInt aOp); |
69 void QueueRequestSessionsL(TInt aAlfToken, const TPtrC8& aPtr, TInt aOp); |
70 void HandleCompositionRequestL(CAlfStreamerServerSession* aSession, TInt aOp, TPtr8& aClientBuf); |
70 void HandleCompositionRequestL(CAlfStreamerServerSession* aSession, TInt aOp, TPtr8& aClientBuf); |
71 |
71 |
72 void RemoveTargetFromInactiveSurfaces(TInt aTarget); |
72 void RemoveTargetFromInactiveSurfaces(TInt aTarget); |
73 void AddTargetFromInactiveSurfaces(TInt aTarget); |
73 void AddTargetFromInactiveSurfaces(TInt aTarget); |
74 void GetListOfWGsHavingInactiveSurfacesL(const RMessage2& aMessage, TBool aActiveAlso = ETrue); |
74 void GetListOfWGsHavingInactiveSurfacesL(const RMessage2& aMessage, TInt aActiveAlso = ETrue); |
75 void QueueRequestBGAnimSessionsL(const TPtrC8& aPtr, TInt aOp); |
75 void QueueRequestBGAnimSessionsL(const TPtrC8& aPtr, TInt aOp); |
76 |
76 |
77 void AddSignal(CAlfStreamerServerSession* aSession, const RMessage2& aMessage); |
77 void AddSignal(CAlfStreamerServerSession* aSession, const RMessage2& aMessage); |
78 void CompleteSignal(TInt aSignal, TInt aType); |
78 void CompleteSignal(TInt aSignal, TInt aType); |
|
79 void FormAQueueL(TInt aOp, TInt aSecureId, TInt aWindowGroupId); |
|
80 |
79 |
81 |
80 private: |
82 private: |
81 void ConstructL(); |
83 void ConstructL(); |
82 |
84 |
83 CAlfStreamerServer( CAlfStreamerBridge* aBridge): |
85 CAlfStreamerServer( CAlfStreamerBridge* aBridge): |
143 |
145 |
144 public: |
146 public: |
145 struct TAlfCompParams |
147 struct TAlfCompParams |
146 { |
148 { |
147 TInt iTarget; |
149 TInt iTarget; |
148 TInt iTarget2; // padding actually |
150 TInt iSecureId; // used with optional GRAM list |
149 TInt iWindowHandle; |
151 TInt iWindowHandle; |
150 TInt iWindowGroup; |
152 TInt iWindowGroup; |
151 }; |
153 }; |
152 |
154 |
153 RArray<TAlfCompParams> iAlfTargets; |
155 RArray<TAlfCompParams> iAlfTargets; |
154 RArray<TAlfCompParams> iInactiveSurfaces; |
156 RArray<TAlfCompParams> iInactiveSurfaces; |
|
157 RArray<TAlfCompParams> iOptionalGRAM; |
155 }; |
158 }; |
156 |
159 |
157 NONSHARABLE_CLASS(CAlfStreamerServerSession): public CSession2 |
160 NONSHARABLE_CLASS(CAlfStreamerServerSession): public CSession2 |
158 { |
161 { |
159 public: |
162 public: |