qtinternetradio/irdb/inc/urlinfowrapper.h
changeset 17 38bbf2dcd608
parent 16 5723da102db1
equal deleted inserted replaced
16:5723da102db1 17:38bbf2dcd608
    33     * channelId: [direction: in] channelid for update row;
    33     * channelId: [direction: in] channelid for update row;
    34     * return true if operation success; 
    34     * return true if operation success; 
    35     */     
    35     */     
    36     bool resetUrlInfo(const columnUrlInfoInsertMap* const RowData,
    36     bool resetUrlInfo(const columnUrlInfoInsertMap* const RowData,
    37                       const uint& channelId);    
    37                       const uint& channelId);    
    38 
    38     /*
       
    39     * aBegin, aBegin is 0, will invoke the action of open db connection;
       
    40     * aBegin == aEnd, will invoke the action of close db connection;
       
    41     */
    39     QList<QVariant*>* getUrlInfo(const columnMap* const condAND = NULL,  
    42     QList<QVariant*>* getUrlInfo(const columnMap* const condAND = NULL,  
    40                                  const columnMap* const condOR = NULL);
    43                                  const columnMap* const condOR = NULL,
       
    44                                  int aBegin = 0,
       
    45                                  int aEnd = 0);
    41 
    46 
    42 private:
    47 private:
    43     /*
    48     /*
    44     * It is called by IRDB instance;
    49     * It is called by IRDB instance;
    45     * IRDB instance delivers rows set to IRDBWrapper via this function;
    50     * IRDB instance delivers rows set to IRDBWrapper via this function;