* 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:
Axel Dörfler
2007-01-25 17:08:16 +00:00
parent 6181d22fb0
commit ca9b91886d
3 changed files with 25 additions and 7 deletions
+2 -1
View File
@@ -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