mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
new method
This commit is contained in:
parent
4ecb0f534d
commit
a8cc920dcf
2 changed files with 7 additions and 0 deletions
|
@ -1042,6 +1042,12 @@ DBMgr::RemoveStoredMessages( vector<int>& idv )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
DBMgr::RemoveStoredMessage( const int msgID )
|
||||||
|
{
|
||||||
|
RemoveStoredMessages( &msgID, 1 );
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
DBMgr::getCountWhere( const char* table, string& test )
|
DBMgr::getCountWhere( const char* table, string& test )
|
||||||
{
|
{
|
||||||
|
|
|
@ -121,6 +121,7 @@ class DBMgr {
|
||||||
vector<DBMgr::MsgInfo>& msgs );
|
vector<DBMgr::MsgInfo>& msgs );
|
||||||
|
|
||||||
void RemoveStoredMessages( const int* msgID, int nMsgIDs );
|
void RemoveStoredMessages( const int* msgID, int nMsgIDs );
|
||||||
|
void RemoveStoredMessage( const int msgID );
|
||||||
void RemoveStoredMessages( vector<int>& ids );
|
void RemoveStoredMessages( vector<int>& ids );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue