Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int gtr::StockBitmaps::save(sqlite3x::sqlite3_connection& con, int id)
- {
- sqlite3x::sqlite3_transaction trans(con);
- //
- // código.....
- //
- std::for_each(
- m_data.begin(),
- m_data.end(),
- boost::bind(>r::StockBitmaps::storeBitmap, this, con, id, update, _1)
- );
- trans.commit();
- return id;
- }
- void gtr::StockBitmaps::storeBitmap(sqlite3x::sqlite3_connection& con, int stockBitmapId,
- bool update, const gtr::StockBitmaps::BitmapContainerElement& element)
- {
Add Comment
Please, Sign In to add comment