Telephony/ctsydispatchlayer/exportinc/mltsydispatchsmsinterface.h
changeset 22 e3587ca0d5e1
parent 21 ab1d0f4d2aa4
equal deleted inserted replaced
21:ab1d0f4d2aa4 22:e3587ca0d5e1
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    90 	     */    
    90 	     */    
    91 	    TBool iAlphaTagPresent;
    91 	    TBool iAlphaTagPresent;
    92 	    };	
    92 	    };	
    93 	}
    93 	}
    94 
    94 
       
    95 
    95 class MLtsyDispatchSmsSendSatSms : public MLtsyDispatchInterface
    96 class MLtsyDispatchSmsSendSatSms : public MLtsyDispatchInterface
    96 	{
    97 	{
    97 public:
    98 public:
    98 
    99 
    99 	static const TInt KLtsyDispatchSmsSendSatSmsApiId = KDispatchSmsFuncUnitId + 1;
   100 	static const TInt KLtsyDispatchSmsSendSatSmsApiId = KDispatchSmsFuncUnitId + 1;
   125 										  ) = 0;
   126 										  ) = 0;
   126 	
   127 	
   127 	}; // class MLtsyDispatchSmsSendSatSms
   128 	}; // class MLtsyDispatchSmsSendSatSms
   128 
   129 
   129 
   130 
   130 
       
   131 class MLtsyDispatchSmsGetSmsStoreInfo : public MLtsyDispatchInterface
       
   132 	{
       
   133 public:
       
   134 
       
   135 	static const TInt KLtsyDispatchSmsGetSmsStoreInfoApiId = KDispatchSmsFuncUnitId + 2;
       
   136 
       
   137 	/**
       
   138 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingGetMessageStoreInfo
       
   139 	 * request from the CTSY.
       
   140 	 *
       
   141 	 * It is a request call that is completed by invoking
       
   142 	 * CCtsyDispatcherCallback::CallbackSmsGetSmsStoreInfoComp()
       
   143 	 *
       
   144 	 * Implementation of this interface should retrieve the current Sms store information.
       
   145 	 *
       
   146 	 *
       
   147 	 * @return KErrNone on success, otherwise another error code indicating the
       
   148 	 * failure.
       
   149 	 * 
       
   150 	 * @see RMobileSmsMessaging::GetMessageStoreInfo
       
   151 	 */
       
   152 	virtual TInt HandleGetSmsStoreInfoReqL() = 0;
       
   153 
       
   154 	}; // class MLtsyDispatchSmsGetSmsStoreInfo
       
   155 
       
   156 
       
   157 
       
   158 class MLtsyDispatchSmsGetSmspList : public MLtsyDispatchInterface
       
   159 	{
       
   160 public:
       
   161 
       
   162 	static const TInt KLtsyDispatchSmsGetSmspListApiId = KDispatchSmsFuncUnitId + 3;
       
   163 
       
   164 	/**
       
   165 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingGetSmspListPhase1
       
   166 	 * request from the CTSY.
       
   167 	 *
       
   168 	 * It is a request call that is completed by invoking
       
   169 	 * CCtsyDispatcherCallback::CallbackSmsGetSmspListComp()
       
   170 	 *
       
   171 	 * Implementation of this interface should request to read the SMS parameter list from the SIM's SMSP store.
       
   172 	 *
       
   173 	 *
       
   174 	 * @return KErrNone on success, otherwise another error code indicating the
       
   175 	 * failure.
       
   176 	 * 
       
   177 	 * @see CMobilePhoneSmspList()
       
   178 	 * @see CRetrieveMobilePhoneSmspList()
       
   179 	 */
       
   180 	virtual TInt HandleGetSmspListReqL() = 0;
       
   181 
       
   182 	}; // class MLtsyDispatchSmsGetSmspList
       
   183 
       
   184 
       
   185 
       
   186 class MLtsyDispatchSmsNackSmsStored : public MLtsyDispatchInterface
   131 class MLtsyDispatchSmsNackSmsStored : public MLtsyDispatchInterface
   187 	{
   132 	{
   188 public:
   133 public:
   189 
   134 
   190 	static const TInt KLtsyDispatchSmsNackSmsStoredApiId = KDispatchSmsFuncUnitId + 4;
   135 	static const TInt KLtsyDispatchSmsNackSmsStoredApiId = KDispatchSmsFuncUnitId + 2;
   191 
   136 
   192 	/**
   137 	/**
   193 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingNackSmsStored
   138 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingNackSmsStored
   194 	 * request from the CTSY.
   139 	 * request from the CTSY.
   195 	 *
   140 	 *
   237 
   182 
   238 class MLtsyDispatchSmsAckSmsStored : public MLtsyDispatchInterface
   183 class MLtsyDispatchSmsAckSmsStored : public MLtsyDispatchInterface
   239 	{
   184 	{
   240 public:
   185 public:
   241 
   186 
   242 	static const TInt KLtsyDispatchSmsAckSmsStoredApiId = KDispatchSmsFuncUnitId + 5;
   187 	static const TInt KLtsyDispatchSmsAckSmsStoredApiId = KDispatchSmsFuncUnitId + 3;
   243 
   188 
   244 	/**
   189 	/**
   245 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingAckSmsStored
   190 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingAckSmsStored
   246 	 * request from the CTSY.
   191 	 * request from the CTSY.
   247 	 *
   192 	 *
   287 
   232 
   288 class MLtsyDispatchSmsResumeSmsReception : public MLtsyDispatchInterface
   233 class MLtsyDispatchSmsResumeSmsReception : public MLtsyDispatchInterface
   289 	{
   234 	{
   290 public:
   235 public:
   291 
   236 
   292 	static const TInt KLtsyDispatchSmsResumeSmsReceptionApiId = KDispatchSmsFuncUnitId + 6;
   237 	static const TInt KLtsyDispatchSmsResumeSmsReceptionApiId = KDispatchSmsFuncUnitId + 4;
   293 
   238 
   294 	/**
   239 	/**
   295 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingResumeSmsReception
   240 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingResumeSmsReception
   296 	 * request from the CTSY.
   241 	 * request from the CTSY.
   297 	 *
   242 	 *
   310 
   255 
   311 class MLtsyDispatchSmsSendSmsMessage : public MLtsyDispatchInterface
   256 class MLtsyDispatchSmsSendSmsMessage : public MLtsyDispatchInterface
   312 	{
   257 	{
   313 public:
   258 public:
   314 
   259 
   315 	static const TInt KLtsyDispatchSmsSendSmsMessageApiId = KDispatchSmsFuncUnitId + 7;
   260 	static const TInt KLtsyDispatchSmsSendSmsMessageApiId = KDispatchSmsFuncUnitId + 5;
   316 
   261 
   317 	/**
   262 	/**
   318 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingSendMessage
   263 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingSendMessage
   319 	 * request from the CTSY.
   264 	 * request from the CTSY.
   320 	 * 
   265 	 * 
   346 
   291 
   347 class MLtsyDispatchSmsSendSmsMessageNoFdnCheck : public MLtsyDispatchInterface
   292 class MLtsyDispatchSmsSendSmsMessageNoFdnCheck : public MLtsyDispatchInterface
   348 	{
   293 	{
   349 public:
   294 public:
   350 
   295 
   351 	static const TInt KLtsyDispatchSmsSendSmsMessageNoFdnCheckApiId = KDispatchSmsFuncUnitId + 8;
   296 	static const TInt KLtsyDispatchSmsSendSmsMessageNoFdnCheckApiId = KDispatchSmsFuncUnitId + 6;
   352 
   297 
   353 	/**
   298 	/**
   354 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingSendMessageNoFdnCheck
   299 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingSendMessageNoFdnCheck
   355 	 * request from the CTSY.
   300 	 * request from the CTSY.
   356 	 * 
   301 	 * 
   382 
   327 
   383 class MLtsyDispatchSmsSetMoSmsBearer : public MLtsyDispatchInterface
   328 class MLtsyDispatchSmsSetMoSmsBearer : public MLtsyDispatchInterface
   384 	{
   329 	{
   385 public:
   330 public:
   386 
   331 
   387 	static const TInt KLtsyDispatchSmsSetMoSmsBearerApiId = KDispatchSmsFuncUnitId + 9;
   332 	static const TInt KLtsyDispatchSmsSetMoSmsBearerApiId = KDispatchSmsFuncUnitId + 7;
   388 
   333 
   389 	/**
   334 	/**
   390 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingSetMoSmsBearer
   335 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingSetMoSmsBearer
   391 	 * request from the CTSY.
   336 	 * request from the CTSY.
   392 	 *
   337 	 *
   404 	virtual TInt HandleSetMoSmsBearerReqL(RMobileSmsMessaging::TMobileSmsBearer aBearer) = 0;
   349 	virtual TInt HandleSetMoSmsBearerReqL(RMobileSmsMessaging::TMobileSmsBearer aBearer) = 0;
   405 
   350 
   406 	}; // class MLtsyDispatchSmsSetMoSmsBearer
   351 	}; // class MLtsyDispatchSmsSetMoSmsBearer
   407 
   352 
   408 
   353 
   409 
   354 class MLtsyDispatchSmsRoutingActivate : public MLtsyDispatchInterface
   410 class MLtsyDispatchSmsStoreSmspListEntry : public MLtsyDispatchInterface
   355     {
   411 	{
   356 public:
   412 public:
   357 
   413 
   358     static const TInt KLtsyDispatchSmsRoutingActivateApiId = KDispatchSmsFuncUnitId + 8;
   414 	static const TInt KLtsyDispatchSmsStoreSmspListEntryApiId = KDispatchSmsFuncUnitId + 10;
   359 
   415 
   360     /**
   416 	/**
   361      * The CTSY Dispatcher shall invoke this function on receiving the EMmTsyActivateSmsRouting
   417 	 * The CTSY Dispatcher shall invoke this function on receiving the EMobileSmsMessagingStoreSmspList
   362      * request from the CTSY.
   418 	 * request from the CTSY.
   363      *
   419 	 * 
   364      * It is a request call that is completed by invoking
   420 	 * It is a request call that is completed by invoking
   365      * CCtsyDispatcherCallback::CallbackSmsRoutingActivateComp()
   421 	 * CCtsyDispatcherCallback::CallbackSmsStoreSmspListComp()
   366      *
   422 	 * 
   367      * Implementation of this interface should allow client to set SMS bearer
   423 	 * Implementation of this interface should handle the request to store a SMSP entry 
   368      * 
   424 	 * in the SIM's SMSP file
   369      * 
   425 	 *
   370      *
   426 	 * @param aSmspEntry Defines a set of SMS parameters
   371      * @return KErrNone on success, otherwise another error code indicating the
   427 	 *
   372      * failure.
   428 	 * @return KErrNone on success, otherwise another error code indicating the
   373      */
   429 	 * failure.
   374     virtual TInt HandleSmsRoutingActivateReqL() = 0;
   430 	 */
   375 
   431 	virtual TInt HandleStoreSmspListEntryReqL(const RMobileSmsMessaging::TMobileSmspEntryV1& aSmspEntry) = 0;
   376     }; // class MLtsyDispatchSmsRoutingActivate
   432 
   377 
   433 	}; // class MLtsyDispatchSmsStoreSmspList
   378 
   434 
   379 class MLtsyDispatchSmsRoutingDeactivate : public MLtsyDispatchInterface
       
   380     {
       
   381 public:
       
   382 
       
   383     static const TInt KLtsyDispatchSmsRoutingDeactivateApiId = KDispatchSmsFuncUnitId + 9;
       
   384 
       
   385     /**
       
   386      * The CTSY Dispatcher shall invoke this function on receiving the EMmTsyDeactivateSmsRouting?
       
   387      * request from the CTSY.
       
   388      *
       
   389      * It is a request call that is completed by invoking
       
   390      * CCtsyDispatcherCallback::CallbackSmsRoutingDeactivateComp()
       
   391      *
       
   392      * Implementation of this interface should allow client to set SMS bearer
       
   393      * 
       
   394      * 
       
   395      *
       
   396      * @return KErrNone on success, otherwise another error code indicating the
       
   397      * failure.
       
   398      */
       
   399     virtual TInt HandleSmsRoutingDeactivateReqL() = 0;
       
   400 
       
   401     }; // class MLtsyDispatchSmsRoutingDeactivate
   435 
   402 
   436 #endif /*MLTSYDISPATCHSMSINTERFACE_H_*/
   403 #endif /*MLTSYDISPATCHSMSINTERFACE_H_*/