310 }; |
310 }; |
311 |
311 |
312 class TOMASuplSessionCapabilities |
312 class TOMASuplSessionCapabilities |
313 { |
313 { |
314 public: |
314 public: |
315 TOMASuplSessionCapabilities(); |
315 IMPORT_C TOMASuplSessionCapabilities(); |
316 TInt GetMaxNumberTotalSessions(TInt &aMaxNumberTotalSessions)const; |
316 IMPORT_C TInt GetMaxNumberTotalSessions(TInt &aMaxNumberTotalSessions)const; |
317 TInt GetMaxNumberPeriodicSessions(TInt8 &aMaxNumberPeriodicSessions)const; |
317 IMPORT_C TInt GetMaxNumberPeriodicSessions(TInt8 &aMaxNumberPeriodicSessions)const; |
318 TInt GetMaxNumberTriggeredSessions(TInt8 &aMaxNumberTriggeredSessions)const; |
318 IMPORT_C TInt GetMaxNumberTriggeredSessions(TInt8 &aMaxNumberTriggeredSessions)const; |
319 public: |
319 public: |
320 void SetMaxNumberTotalSessions(const TInt aMaxNumberTotalSessions); |
320 IMPORT_C void SetMaxNumberTotalSessions(const TInt aMaxNumberTotalSessions); |
321 void SetMaxNumberPeriodicSessions(const TInt8 aMaxNumberPeriodicSessions); |
321 IMPORT_C void SetMaxNumberPeriodicSessions(const TInt8 aMaxNumberPeriodicSessions); |
322 void SetMaxNumberTriggeredSessions(const TInt8 aMaxNumberTriggeredSessions); |
322 IMPORT_C void SetMaxNumberTriggeredSessions(const TInt8 aMaxNumberTriggeredSessions); |
323 |
323 |
324 private: |
324 private: |
325 TInt iOptionalMask; |
325 TInt iOptionalMask; |
326 TInt iMaxNumberTotalSessions; |
326 TInt iMaxNumberTotalSessions; |
327 TInt8 iMaxNumberPeriodicSessions; |
327 TInt8 iMaxNumberPeriodicSessions; |
388 }; |
388 }; |
389 |
389 |
390 class TOMAServiceCapabilities |
390 class TOMAServiceCapabilities |
391 { |
391 { |
392 public: |
392 public: |
393 TOMAServiceCapabilities(); |
393 IMPORT_C TOMAServiceCapabilities(); |
394 TInt GetSuplServiceSupported(TOMASuplServiceSupported& aServicesSupported)const; |
394 IMPORT_C TInt GetSuplServiceSupported(TOMASuplServiceSupported& aServicesSupported)const; |
395 TInt GetSuplReportingCap(TOMASuplReportingCap& aReportingCapabilities)const; |
395 IMPORT_C TInt GetSuplReportingCap(TOMASuplReportingCap& aReportingCapabilities)const; |
396 TInt GetEventTriggerCapabilities(TOMASuplEventTriggerCapabilities& aEventTriggerCapabilities)const; |
396 IMPORT_C TInt GetEventTriggerCapabilities(TOMASuplEventTriggerCapabilities& aEventTriggerCapabilities)const; |
397 TInt GetSuplSessionCapabilities(TOMASuplSessionCapabilities& aSessionCapabilities)const; |
397 IMPORT_C TInt GetSuplSessionCapabilities(TOMASuplSessionCapabilities& aSessionCapabilities)const; |
398 public: |
398 public: |
399 void SetSuplServiceSupported(const TOMASuplServiceSupported aServicesSupported); |
399 IMPORT_C void SetSuplServiceSupported(const TOMASuplServiceSupported aServicesSupported); |
400 void SetSuplReportingCap(const TOMASuplReportingCap aReportingCapabilities); |
400 IMPORT_C void SetSuplReportingCap(const TOMASuplReportingCap aReportingCapabilities); |
401 void SetEventTriggerCapabilities(const TOMASuplEventTriggerCapabilities aEventTriggerCapabilities); |
401 IMPORT_C void SetEventTriggerCapabilities(const TOMASuplEventTriggerCapabilities aEventTriggerCapabilities); |
402 void SetSuplSessionCapabilities(const TOMASuplSessionCapabilities aSessionCapabilities); |
402 IMPORT_C void SetSuplSessionCapabilities(const TOMASuplSessionCapabilities aSessionCapabilities); |
403 |
403 |
404 private: |
404 private: |
405 |
405 |
406 TOMASuplReportingCap iReportingCapabilities; |
406 TOMASuplReportingCap iReportingCapabilities; |
407 TOMASuplServiceSupported iServicesSupported; |
407 TOMASuplServiceSupported iServicesSupported; |