* Added a Dano extension to BMessageQueue: IsNextMessage().
* BLooper::AddMessage() is now using this method to determine wether or not to update its looper thread. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19956 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2001-2005, Haiku, Inc. All Rights Reserved.
|
||||
* Copyright 2001-2007, Haiku, Inc. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _MESSAGE_QUEUE_H
|
||||
@@ -30,6 +30,7 @@ class BMessageQueue {
|
||||
bool IsLocked() const;
|
||||
|
||||
BMessage *NextMessage();
|
||||
bool IsNextMessage(const BMessage* message) const;
|
||||
|
||||
private:
|
||||
// Reserved space in the vtable for future changes to BMessageQueue
|
||||
|
||||
Reference in New Issue
Block a user