mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/abstractmediamtpdataprovider/inc/cabstractmediamtpdataprovider.h
branchRCL_3
changeset 9 bee149131e4b
parent 0 a2952bb97e68
child 17 780c925249c1
equal deleted inserted replaced
4:d45095c2f4f3 9:bee149131e4b
    22 #include <mtp/cmtpdataproviderplugin.h>
    22 #include <mtp/cmtpdataproviderplugin.h>
    23 
    23 
    24 #include "abstractmediamtpdataproviderprocessor.h"
    24 #include "abstractmediamtpdataproviderprocessor.h"
    25 #include "mmmtpenumerationcallback.h"
    25 #include "mmmtpenumerationcallback.h"
    26 #include "mmmtpdpconfig.h"
    26 #include "mmmtpdpconfig.h"
    27 
       
    28 
    27 
    29 // Forward declaration
    28 // Forward declaration
    30 class MMmRequestProcessor;
    29 class MMmRequestProcessor;
    31 class CAbstractMediaMtpDataProviderEnumerator;
    30 class CAbstractMediaMtpDataProviderEnumerator;
    32 class CMTPObjectMetaData;
    31 class CMTPObjectMetaData;
    64     * @return TUint32 Default storage Id which read from resource file
    63     * @return TUint32 Default storage Id which read from resource file
    65     */
    64     */
    66     TUint32 GetDefaultStorageIdL() const;
    65     TUint32 GetDefaultStorageIdL() const;
    67 
    66 
    68     /**
    67     /**
    69     * @return the reference of CMmMtpDpMetadataAccessWrapper to enumerator
    68     * Get db handler wrapper
       
    69     * @return wrapper references
    70     */
    70     */
    71     CMmMtpDpMetadataAccessWrapper& GetWrapperL();
    71     CMmMtpDpMetadataAccessWrapper& GetWrapperL();
       
    72 
       
    73     /**
       
    74     * @return The utility to setting properties
       
    75     */
       
    76     CPropertySettingUtility* PropSettingUtility();
       
    77 
       
    78     /**
       
    79     * @return The utiltiy to setting descriptions
       
    80     */
       
    81     CDescriptionUtility* DescriptionUtility();
    72 
    82 
    73 protected:
    83 protected:
    74     // from CMTPDataProviderPlugin
    84     // from CMTPDataProviderPlugin
    75     void Cancel();
    85     void Cancel();
    76 
    86 
    95     */
   105     */
    96     void SessionOpenedL( const TMTPNotificationParamsSessionChange& aSession );
   106     void SessionOpenedL( const TMTPNotificationParamsSessionChange& aSession );
    97 
   107 
    98     /**
   108     /**
    99     * Notify the data provider that the session has been closed
   109     * Notify the data provider that the session has been closed
   100     * @param aConnection    The connection of the sesssion
   110     * @param aSession    The connection of the sesssion
   101     */
   111     */
   102     void SessionClosedL( const TMTPNotificationParamsSessionChange& aSession );
   112     void SessionClosedL( const TMTPNotificationParamsSessionChange& aSession );
   103 
   113 
   104     /**
   114     /**
   105     * Notify the data provider that the object has been changed
   115     * Notify the data provider that the object has been changed
   173     RPointerArray<MMmRequestProcessor> iActiveProcessors;
   183     RPointerArray<MMmRequestProcessor> iActiveProcessors;
   174     CAbstractMediaMtpDataProviderEnumerator* iAbstractMediaEnumerator;
   184     CAbstractMediaMtpDataProviderEnumerator* iAbstractMediaEnumerator;
   175     RArray<TUint32> iPendingEnumerations;
   185     RArray<TUint32> iPendingEnumerations;
   176 
   186 
   177     TInt iActiveProcessor;
   187     TInt iActiveProcessor;
       
   188     TBool iActiveProcessorRemoved;
   178 
   189 
   179     CAbstractMediaMtpDataProviderRenameObject *iRenameObject;
   190     CAbstractMediaMtpDataProviderRenameObject *iRenameObject;
   180     TBool iIsSessionOpen;
   191     TBool iIsSessionOpen;
   181 
   192 
   182     RArray<TUint> iSupportedFormat;
   193     RArray<TUint> iSupportedFormat;
   183 
   194 
   184     RArray<TUint> iSupportedProperties;
   195     RArray<TUint> iSupportedProperties;
   185 
   196 
       
   197     CPropertySettingUtility* iPropSettingUtility;
       
   198     CDescriptionUtility* iDescriptionUtility;
       
   199 
   186     };
   200     };
   187 
   201 
   188 #endif // CABSTRACTMEDIAMTPDATAPROVIDER_H
   202 #endif // CABSTRACTMEDIAMTPDATAPROVIDER_H