Skip to content

Commit

Permalink
FULLPIPE: Implement clearGlobalMessageQueueList()
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Apr 26, 2014
1 parent 20f1471 commit c55398c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/fullpipe/messages.cpp
Expand Up @@ -699,6 +699,10 @@ void GlobalMessageQueueList::addMessageQueue(MessageQueue *msg) {
push_back(msg);
}

void clearGlobalMessageQueueList() {
g_fp->_globalMessageQueueList->clear();
}

void clearGlobalMessageQueueList1() {
clearMessages();

Expand Down
1 change: 1 addition & 0 deletions engines/fullpipe/messages.h
Expand Up @@ -193,6 +193,7 @@ void clearMessageHandlers();
void processMessages();
void updateGlobalMessageQueue(int id, int objid);
void clearMessages();
void clearGlobalMessageQueueList();
void clearGlobalMessageQueueList1();

bool chainQueue(int queueId, int flags);
Expand Down

0 comments on commit c55398c

Please sign in to comment.