mpengine/inc/mpmpxcollectionframeworkwrapper_p.h
changeset 38 b93f525c9244
parent 36 a0afa279b8fe
child 43 0f32e550d9d8
equal deleted inserted replaced
37:eb79a7c355bf 38:b93f525c9244
    83     void setShuffleFeatureEnabled( bool enable );
    83     void setShuffleFeatureEnabled( bool enable );
    84     void cancel();
    84     void cancel();
    85     
    85     
    86     MpMpxCollectionData *collectionData();
    86     MpMpxCollectionData *collectionData();
    87     void openShuffleAllSongsPath();
    87     void openShuffleAllSongsPath();
       
    88     
       
    89     void savePath( QByteArray &data );
       
    90     void restorePath( const QByteArray &data );
    88 
    91 
    89 private:
    92 private:
    90 
    93 
    91 
    94 
    92     void HandleOpenL( const CMPXMedia& aEntries,
    95     void HandleOpenL( const CMPXMedia& aEntries,
    94     void HandleOpenL( const CMPXCollectionPlaylist& aPlaylist,TInt aError );
    97     void HandleOpenL( const CMPXCollectionPlaylist& aPlaylist,TInt aError );
    95     void HandleCollectionMessage( CMPXMessage* aMsg, TInt aErr );
    98     void HandleCollectionMessage( CMPXMessage* aMsg, TInt aErr );
    96     void HandleCollectionMediaL( const CMPXMedia& aMedia, TInt aError );
    99     void HandleCollectionMediaL( const CMPXMedia& aMedia, TInt aError );
    97     void HandleOperationCompleteL( TCHelperOperation aOperation, TInt aErr, void* aArgument );
   100     void HandleOperationCompleteL( TCHelperOperation aOperation, TInt aErr, void* aArgument );
    98     void HandleIsolatedOpenL( const CMPXMedia& aEntries, TInt aError );
   101     void HandleIsolatedOpenL( const CMPXMedia& aEntries, TInt aError );
       
   102     void HandleIsolatedOpenRestorePathL( const CMPXCollectionPath& aPath, TInt aError );
    99     void HandleFindAllL( const CMPXMedia& aResults, TBool aComplete, TInt aError );
   103     void HandleFindAllL( const CMPXMedia& aResults, TBool aComplete, TInt aError );
   100 
   104 
   101     void DoInitL();
   105     void DoInitL();
   102     void DoOpenCollectionL( TCollectionContext aContext );
   106     void DoOpenCollectionL( TCollectionContext aContext );
   103     void DoOpenCollectionItemL( TInt aIndex );
   107     void DoOpenCollectionItemL( TInt aIndex );
   127     void DoHandleItemChangedMessageL( const CMPXMessage& aMsg );
   131     void DoHandleItemChangedMessageL( const CMPXMessage& aMsg );
   128 
   132 
   129     void PreparePlaylistMediaL( CMPXMedia& aMedia, QList<int> &selection, MpMpxCollectionData *collectionData );
   133     void PreparePlaylistMediaL( CMPXMedia& aMedia, QList<int> &selection, MpMpxCollectionData *collectionData );
   130     void createPlaybackUtilityL();
   134     void createPlaybackUtilityL();
   131     void DoPlayAllSongsPlaylistL();
   135     void DoPlayAllSongsPlaylistL();
       
   136     void DoSavePathL( QByteArray &data );
       
   137     void DoRestorePathL( const QByteArray &data );
   132 
   138 
   133 private:
   139 private:
   134 
   140 
   135     MpMpxCollectionFrameworkWrapper   *q_ptr;
   141     MpMpxCollectionFrameworkWrapper   *q_ptr;
   136 
   142 
   147     TUid                              mHostUid;
   153     TUid                              mHostUid;
   148     TBool                             iRepeatFeature;
   154     TBool                             iRepeatFeature;
   149     TBool                             iShuffleFeature;
   155     TBool                             iShuffleFeature;
   150     TBool                             iReopen;
   156     TBool                             iReopen;
   151     TBool                             iShuffleAll;
   157     TBool                             iShuffleAll;
       
   158     TBool                             iRestoreDefaultPath;
       
   159     TInt                              iRestorePathIndex;
       
   160     TMPXItemId                        iRestorePathIndexId;
   152 
   161 
   153 };
   162 };
   154 
   163 
   155 #endif // MPMPXCOLLECTIONFRAMEWORKWRAPPER_P_H
   164 #endif // MPMPXCOLLECTIONFRAMEWORKWRAPPER_P_H
   156 
   165