summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2RequestArrayList.h
blob: 5ba657320bd9faffd505b1685e9bb0eb1bf4579e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef T2DLL_T2REQUESTARRAYLIST_H
#define T2DLL_T2REQUESTARRAYLIST_H
#include "../common.h"
#include "LArray.h"

class AFX_CLASS_EXPORT T2RequestArrayList : private LArray {
public:
	T2RequestArrayList();
	virtual ~T2RequestArrayList();
	void Add(T2RequestArray*);
	unsigned int GetItemCount();
	T2RequestArray* GetItemAt(int);
	T2Request* GetRequestByID(unsigned int);
	T2Request* FindUnusedRequest();
	void BreakoutEmergency(T2TowerDoc*);
	void Read(T2Archive&, T2TowerDoc*);
	void Write(T2Archive&);
	void DispatchIdle(T2TowerDoc*);
};
#endif