/* * Copyright (c) 1998-2005, Index Data. * See the file LICENSE for details. * * $Id: gduqueue.h,v 1.2 2006/03/30 14:15:58 adam Exp $ */ #ifndef YAZPP_GDUQUEUE_INCLUDED #define YAZPP_GDUQUEUE_INCLUDED #include namespace yazpp_1 { class GDU; class YAZ_EXPORT GDUQueue_List { friend class GDUQueue; private: GDU *m_item; GDUQueue_List *m_next; }; class YAZ_EXPORT GDUQueue { public: GDUQueue(); ~GDUQueue(); void clear(); void enqueue(GDU *gdu); GDU *dequeue(); int size(); private: GDUQueue_List *m_list; }; }; #endif /* * Local variables: * c-basic-offset: 4 * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */