summaryrefslogtreecommitdiff
path: root/Plugins/utils/ContactAsyncQueue.h
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2008-05-20 23:53:15 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2008-05-20 23:53:15 +0000
commit9c700c5876acb50bbaf910049f6a9535bb6327f4 (patch)
tree69e5e8df88b4356a5413bd60d9735c1105327b7b /Plugins/utils/ContactAsyncQueue.h
parent043247600e4f3363887003433baffc36d832478a (diff)
Added some new methods to Buffer and ContactAsyncQueue
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@107 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/utils/ContactAsyncQueue.h')
-rw-r--r--Plugins/utils/ContactAsyncQueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Plugins/utils/ContactAsyncQueue.h b/Plugins/utils/ContactAsyncQueue.h
index a19ba04..fe1032f 100644
--- a/Plugins/utils/ContactAsyncQueue.h
+++ b/Plugins/utils/ContactAsyncQueue.h
@@ -48,6 +48,8 @@ public:
ContactAsyncQueue(pfContactAsyncQueueCallback fContactAsyncQueueCallback, int initialSize = 10);
~ContactAsyncQueue();
+ void Finish();
+
inline int Size() const { return queue.getCount(); }
inline int Remove(int idx) { mir_free(queue[idx]); return queue.remove(idx); }
inline QueueItem* Get(int idx) const { return queue[idx]; }