mtpfws/mtpfw/dataproviders/devdp/inc/cmtpdevicedatastore.h
changeset 28 85e0c0339cc3
parent 18 1b39655331a3
child 47 63cf70d3ecd8
equal deleted inserted replaced
25:48a2e0d8a4ce 28:85e0c0339cc3
    86 	void SetExtnDevicePropDp(MExtnDevicePropDp* aExtnDevicePropDp);
    86 	void SetExtnDevicePropDp(MExtnDevicePropDp* aExtnDevicePropDp);
    87 	MExtnDevicePropDp* ExtnDevicePropDp();
    87 	MExtnDevicePropDp* ExtnDevicePropDp();
    88 
    88 
    89     TBool IsConnectMac();
    89     TBool IsConnectMac();
    90     void SetConnectMac(TBool aConnectMac);	
    90     void SetConnectMac(TBool aConnectMac);	
       
    91     
       
    92     TBool Enumerated() const;
       
    93     void RegisterPendingRequest();
    91 	
    94 	
    92 private: // Form CActive
    95 private: // Form CActive
    93 
    96 
    94     void DoCancel();
    97     void DoCancel();
    95     TInt RunError(TInt aError);
    98     TInt RunError(TInt aError);
    99 private:
   102 private:
   100 
   103 
   101     CMTPDeviceDataStore();
   104     CMTPDeviceDataStore();
   102     void ConstructL();
   105     void ConstructL();
   103 
   106 
   104     TBool Enumerated() const;
       
   105     void ExternalizeL(RWriteStream& aWriteStream) const;
   107     void ExternalizeL(RWriteStream& aWriteStream) const;
   106     void InternalizeL(RReadStream& aReadStream);
   108     void InternalizeL(RReadStream& aReadStream);
   107     const TDesC& PropertyStoreName();
   109     const TDesC& PropertyStoreName();
   108     void AppendMTPExtensionSetsL(TBool& aCompleted);
   110     void AppendMTPExtensionSetsL(TBool& aCompleted);
   109     void RestoreL();
   111     void RestoreL();
   161 
   163 
   162     // this array is to store all supported device properties.
   164     // this array is to store all supported device properties.
   163     CMTPTypeArray*                                   iSupportedDevProArray;
   165     CMTPTypeArray*                                   iSupportedDevProArray;
   164     TUint8			iFormatOreder; 
   166     TUint8			iFormatOreder; 
   165     
   167     
       
   168     
   166 private: // Not owned.
   169 private: // Not owned.
   167 
   170 
   168     MMTPEnumerationCallback* 	    iCallback;
   171     MMTPEnumerationCallback* 	    iCallback;
   169     TRequestStatus*                 iPendingStatus;
   172     TRequestStatus*                 iPendingStatus;
   170     TUint*                          iPendingBatteryLevel;
   173     TUint*                          iPendingBatteryLevel;
   171     
   174     
   172     MExtnDevicePropDp*              iExtnDevicePropDp;
   175     MExtnDevicePropDp*              iExtnDevicePropDp;
   173 
   176 
   174     TBool                           iIsConnectMac; 
   177     TBool                           iIsConnectMac; 
       
   178     TBool                           iHasPendingRequest;    
   175     };
   179     };
   176    
   180    
   177 #endif // CMTPDEVICEDATASTORE_H
   181 #endif // CMTPDEVICEDATASTORE_H