diff -r 5723da102db1 -r 38bbf2dcd608 qtinternetradio/irdb/inc/searchrltwrapper.h --- a/qtinternetradio/irdb/inc/searchrltwrapper.h Fri Sep 17 08:27:59 2010 +0300 +++ b/qtinternetradio/irdb/inc/searchrltwrapper.h Mon Oct 04 00:07:46 2010 +0300 @@ -27,6 +27,14 @@ public: /* + * RowData: [direction: in] table row value + * bOpt: [direction: in] true = the db connection should be open; + */ + bool addSearchRlt(const columnMap* const RowData, + bool bOpt = true); + + void addSearchRltFinished(); + /* * RowData: [direction: in]table row value; * condAND: [direction: in]condition for search searchRlt, it is AND relationship in every pair; * condOR: [direction: in]condition for search searchRlt, it is OR relationship in every pair; @@ -69,10 +77,17 @@ * condOR: [direction: in]condition for search channelHistory, it is OR relationship in every pair; * uint: return channelId; */ - uint srhChannelId(QString& condUserCidStr, - const columnMap* const condAND, + uint srhChannelId(const columnMap* const condAND = NULL, const columnMap* const condOR = NULL); - + /* + * create QString List for handle(insert/update) the data come from search view + * channelId: [direction: in] channel id; + * RowData: [direction: in] input data; + * sqlList: [direction: out] return sql string; + */ + void combineSqlStr(const uint& channelId, + const columnMap* const RowData, + QStringList& sqlList); }; #endif