new method

This commit is contained in:
Eric House 2013-08-01 07:49:12 -07:00
parent 4ecb0f534d
commit a8cc920dcf
2 changed files with 7 additions and 0 deletions

View file

@ -1042,6 +1042,12 @@ DBMgr::RemoveStoredMessages( vector<int>& idv )
}
}
void
DBMgr::RemoveStoredMessage( const int msgID )
{
RemoveStoredMessages( &msgID, 1 );
}
int
DBMgr::getCountWhere( const char* table, string& test )
{

View file

@ -121,6 +121,7 @@ class DBMgr {
vector<DBMgr::MsgInfo>& msgs );
void RemoveStoredMessages( const int* msgID, int nMsgIDs );
void RemoveStoredMessage( const int msgID );
void RemoveStoredMessages( vector<int>& ids );
private: