1/*
2* Copyright 2010, Haiku. All rights reserved.
3* Distributed under the terms of the MIT License.
4*
5* Authors:
6*		Michael Pfeiffer
7*/
8#ifndef GP_ARRAY_H
9#define GP_ARRAY_H
10
11template<typename TYPE>
12class GPArray
13{
14public:
15	typedef TYPE* PointerType;
16
17					GPArray();
18	virtual			~GPArray();
19
20	void			SetSize(int size);
21	int				Size() const;
22	void			DecreaseSize();
23	TYPE**			Array();
24	TYPE**			Array() const;
25	bool			IsEmpty() const;
26
27private:
28	TYPE**	fArray;
29	int		fSize;
30};
31
32#include "GPArray.cpp"
33
34#endif
35