--- a/bluetoothengine/btmac/inc/btmonocmdhandler/btmcnumber.h Tue Feb 02 00:20:42 2010 +0200
+++ b/bluetoothengine/btmac/inc/btmonocmdhandler/btmcnumber.h Fri Apr 16 15:08:36 2010 +0300
@@ -34,6 +34,18 @@
{
public:
+ /** CBtmcNumber states.
+ */
+ enum BtmcNumberState
+ {
+ /** Not valid */
+ EStateNull = 0,
+ /** Getting the MSISDN - getting store info*/
+ EStateGettingMsisdnStoreInfo = 1,
+ /** Getting the MSISDN - getting store entry*/
+ EStateGettingMsisdnStoreEntry = 2,
+ };
+
/**
* Two-phased constructor.
*/
@@ -76,6 +88,14 @@
TInt aServiceId);
void ConstructL();
+ /**
+ * Gets MSISDN store info to check how many numbers are stored on SIM
+ */
+ void GetMsisdnStoreInfo();
+ /**
+ * Gets single MSISDN store entry
+ */
+ void GetMsisdnStoreEntry();
private:
CBtmcProtocol& iProtocol;
@@ -84,7 +104,21 @@
RMobileONStore iStore;
RMobileONStore::TMobileONEntryV1 iEntry;
RMobileONStore::TMobileONEntryV1Pckg iPckg;
+ RMobileONStore::TMobileONStoreInfoV1Pckg iOnStoreInfoPckg;
+ RMobileONStore::TMobileONStoreInfoV1 iOnStoreInfo;
+ /**
+ * Defines current CBtmcNumber state
+ */
+ BtmcNumberState iState;
+ /**
+ * Index which is used to get MSISDN entries
+ */
+ TInt iUsedEntriesCount;
+ /**
+ * Count of correct numbers returned by MSISDN
+ */
+ TInt iCorrectNumbersCount;
};
-#endif
\ No newline at end of file
+#endif