equal
deleted
inserted
replaced
124 } |
124 } |
125 }; |
125 }; |
126 |
126 |
127 // CTestServer functions |
127 // CTestServer functions |
128 |
128 |
129 EXPORT_C CTestServer::CTestServer(TInt aPriority) |
129 CTestServer::CTestServer(TInt aPriority) |
130 // |
130 // |
131 // Constructor - sets name |
131 // Constructor - sets name |
132 // |
132 // |
133 : CServer2(aPriority) |
133 : CServer2(aPriority) |
134 {} |
134 {} |
135 |
135 |
136 EXPORT_C CSession2* CTestServer::NewSessionL(const TVersion& aVersion,const RMessage2& /*aMessage*/) const |
136 CSession2* CTestServer::NewSessionL(const TVersion& aVersion,const RMessage2& /*aMessage*/) const |
137 // |
137 // |
138 // Virtual fn - checks version supported and creates a CTestSession |
138 // Virtual fn - checks version supported and creates a CTestSession |
139 // |
139 // |
140 { |
140 { |
141 TVersion version(KE32MajorVersionNumber,KE32MinorVersionNumber,KE32BuildVersionNumber); |
141 TVersion version(KE32MajorVersionNumber,KE32MinorVersionNumber,KE32BuildVersionNumber); |
282 return KErrGeneral; |
282 return KErrGeneral; |
283 |
283 |
284 return KErrNone; |
284 return KErrNone; |
285 } |
285 } |
286 |
286 |
287 EXPORT_C void CTestSession::ServiceL(const RMessage2& aMessage) |
287 void CTestSession::ServiceL(const RMessage2& aMessage) |
288 // |
288 // |
289 // Virtual message-handler |
289 // Virtual message-handler |
290 // |
290 // |
291 { |
291 { |
292 TInt r=KErrNone; |
292 TInt r=KErrNone; |