haiku/src/servers/media/Queue.h
beveloper 7dd8568e6a adding a simple queue needed for the media server's handling of notifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 22:07:10 +00:00

22 lines
306 B
C++

/*
* Copyright 2002, Marcus Overhagen. All rights reserved.
* Distributed under the terms of the MIT License.
*/
class Queue
{
public:
Queue();
~Queue();
status_t Terminate();
status_t AddItem(void *item);
void * RemoveItem();
private:
BList *fList;
BLocker *fLocker;
sem_id fSem;
};