summaryrefslogtreecommitdiff
path: root/include/compsize.h
blob: 45a2509be3f2cb3caa5d9a58b476270e0815f4bc (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
25
26
27
28
#ifndef _COMPSIZE_H
#define _COMPSIZE_H

#include <vector>
#include <list>

class CompSize {

    public:
	CompSize ();
	CompSize (unsigned int, unsigned int);

	unsigned int width ();
	unsigned int height ();

	void setWidth (unsigned int);
	void setHeight (unsigned int);

	typedef std::vector<CompSize> vector;
	typedef std::vector<CompSize *> ptrVector;
	typedef std::list<CompSize> list;
	typedef std::list<CompSize *> ptrList;

    private:
	unsigned int mWidth, mHeight;
};

#endif