Telephony/ctsydispatchlayer/exportinc/mltsydispatchphonebookinterface.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".
    71 		
    71 		
    72 		TPhonebookStoreInfoV1() :
    72 		TPhonebookStoreInfoV1() :
    73 			iAdnTotalEntries(-1),
    73 			iAdnTotalEntries(-1),
    74 			iAdnMaximumTextLength(-1),
    74 			iAdnMaximumTextLength(-1),
    75 			iAdnMaximumNumberLength(-1),
    75 			iAdnMaximumNumberLength(-1),
       
    76 			iBdnTotalEntries(-1),
       
    77 			iBdnMaximumTextLength(-1),
       
    78 			iBdnMaximumNumberLength(-1),
    76 			iFdnTotalEntries(-1),
    79 			iFdnTotalEntries(-1),
    77 			iFdnMaximumTextLength(-1),
    80 			iFdnMaximumTextLength(-1),
    78 			iFdnMaximumNumberLength(-1),
    81 			iFdnMaximumNumberLength(-1),
    79 			iSdnTotalEntries(-1),
    82 			iSdnTotalEntries(-1),
    80 			iSdnMaximumTextLength(-1),
    83 			iSdnMaximumTextLength(-1),
    99 		//Abbriviated Dailling Numbers
   102 		//Abbriviated Dailling Numbers
   100 		TInt iAdnTotalEntries; 
   103 		TInt iAdnTotalEntries; 
   101 		TInt iAdnMaximumTextLength;
   104 		TInt iAdnMaximumTextLength;
   102 		TInt iAdnMaximumNumberLength;
   105 		TInt iAdnMaximumNumberLength;
   103 
   106 
       
   107 		//Barred Dailling Numbers
       
   108 		TInt iBdnTotalEntries;
       
   109 		TInt iBdnMaximumTextLength;
       
   110 		TInt iBdnMaximumNumberLength;
       
   111 		
   104 		//Fixed Dialling numbers
   112 		//Fixed Dialling numbers
   105 		TInt iFdnTotalEntries;
   113 		TInt iFdnTotalEntries;
   106 		TInt iFdnMaximumTextLength;
   114 		TInt iFdnMaximumTextLength;
   107 		TInt iFdnMaximumNumberLength;
   115 		TInt iFdnMaximumNumberLength;
   108 
   116 
   382 	 * Implementation of this interface should request to write an entry to a given phonebook.
   390 	 * Implementation of this interface should request to write an entry to a given phonebook.
   383 	 * The callback indicates when the operation is complete.
   391 	 * The callback indicates when the operation is complete.
   384 	 *
   392 	 *
   385 	 *
   393 	 *
   386 	 * @param aPhonebook The phonebook to be written to.
   394 	 * @param aPhonebook The phonebook to be written to.
   387 	 * @param aEntry The entry to be written, this is coded as a TLV, this can be decoded either
   395 	 * @param aEntry The entry to be written, this is coded as a TLV (Type-Length-Value tuplet used to create extensible protocols), 
   388 	 * directly via a CPhoneBookBuffer() or via the CPhoneBookEntry::InternalizeFromTlvEntry() utility.
   396 	 * this can be decoded either directly via a CPhoneBookBuffer() or via the CPhoneBookEntry::InternalizeFromTlvEntry() utility.
   389 	 *
   397 	 *
   390 	 *
   398 	 *
   391 	 * @return KErrNone on success, otherwise another error code indicating the
   399 	 * @return KErrNone on success, otherwise another error code indicating the
   392 	 * failure.
   400 	 * failure.
   393 	 * 
   401 	 * 
   590 	virtual TInt HandleSmsStoreWriteEntryReqL(const RMobileSmsStore::TMobileGsmSmsEntryV1& aMobileGsmEntry) = 0;
   598 	virtual TInt HandleSmsStoreWriteEntryReqL(const RMobileSmsStore::TMobileGsmSmsEntryV1& aMobileGsmEntry) = 0;
   591 
   599 
   592 	}; // class MLtsyDispatchPhonebookSmsStoreWriteEntry
   600 	}; // class MLtsyDispatchPhonebookSmsStoreWriteEntry
   593 
   601 
   594 
   602 
       
   603 class MLtsyDispatchPhonebookGetMailboxNumbers : public MLtsyDispatchInterface
       
   604     {
       
   605 public:
       
   606     
       
   607     static const TInt KLtsyDispatchPhonebookGetMailboxNumbersApiId = KDispatchPhonebookFuncUnitId + 16;
       
   608 
       
   609     /**
       
   610      * The CTSY Dispatcher shall invoke this function on receiving the EMobilePhoneGetMailboxNumbers
       
   611      * request from the CTSY.
       
   612      * 
       
   613      * Callback is CCtsyDispatcherCallback::CallbackPhonebookGetMailboxNumbersComp()
       
   614      *
       
   615      * Implementation of this interface should request to get the Mailbox numbers identifier information 
       
   616      * from the EF_MBI file in the USIM.
       
   617      *
       
   618      *
       
   619      * @return KErrNone on success, otherwise another error code indicating the
       
   620      * failure.
       
   621      */
       
   622      
       
   623     virtual TInt HandleGetMailboxNumbersReqL() = 0;
       
   624 
       
   625     }; // class MLtsyDispatchPhonebookGetMailboxNumbers
       
   626 
   595 #endif /*MLTSYDISPATCHPHONEBOOKINTERFACE_H_*/
   627 #endif /*MLTSYDISPATCHPHONEBOOKINTERFACE_H_*/