contentstorage/srvinc/casrvmmchistory.h
changeset 94 dbb8300717f7
parent 85 7feec50967db
equal deleted inserted replaced
93:82b66994846c 94:dbb8300717f7
    34 
    34 
    35 public:
    35 public:
    36     // construction
    36     // construction
    37 
    37 
    38     /**
    38     /**
       
    39      * Creates an instance of CCaSrvMmcHistory.
       
    40      * @return a pointer to CCaSrvMmcHistory insctance.
       
    41      */
       
    42     IMPORT_C static CCaSrvMmcHistory* NewL();
       
    43 
       
    44     /**
    39      * Destructor.
    45      * Destructor.
    40      */
    46      */
    41     virtual ~CCaSrvMmcHistory()
    47     virtual ~CCaSrvMmcHistory();
    42         {
       
    43         iMmcList.Close();
       
    44         }
       
    45 
       
    46     /**
       
    47      * Constructor.
       
    48      */
       
    49     CCaSrvMmcHistory()
       
    50         {
       
    51         }
       
    52 
    48 
    53 public:
    49 public:
    54     // new methods
    50     // new methods
    55 
    51 
    56     /**
    52     /**
    82      * @return History index, or KErrNotFound.
    78      * @return History index, or KErrNotFound.
    83      */
    79      */
    84     IMPORT_C TInt Find( TUint aMmc ); // Find mmc in history.
    80     IMPORT_C TInt Find( TUint aMmc ); // Find mmc in history.
    85 
    81 
    86 private:
    82 private:
       
    83     /**
       
    84      * Constructor.
       
    85      */
       
    86     CCaSrvMmcHistory();
       
    87 
       
    88     /**
       
    89      * Second phase symbian constructor.
       
    90      */
       
    91     void ConstructL();
       
    92 
       
    93 private:
    87     // data
    94     // data
    88 
    95 
    89     RArray<TUint> iMmcList; ///< ID history list. Own.
    96     RArray<TUint> iMmcList; ///< ID history list. Own.
    90 
    97 
    91     };
    98     };