blob: f813e7f43cfe924e9e03a48811984bc701c89801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "StdAfx.h"
#include "CObjectQueue.h"
CObjectQueue::CObjectQueue() {
}
/*virtual*/ CObjectQueue::~CObjectQueue() {
}
/*virtual*/ void CObjectQueue::AllClear() {
RemoveAll();
}
POSITION CObjectQueue::AddItem(void* item) {
return AddTail(item);
}
/*virtual*/ unsigned int CObjectQueue::GetItemCount() {
return GetCount();
}
void CObjectQueue::RemoveItem(POSITION pos) {
RemoveAt(pos);
}
|