summaryrefslogtreecommitdiffstats
blob: 0e0151d45b50cfc6124afa813c67d7234ea4a0fc (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
/*
 * Copyright (c) 2012 Yoann Blein
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

#pragma once

#include <boost/shared_ptr.hpp>
#include <vector>
#include <stdint.h>

namespace Swift {
	class Image {
		public:
			typedef boost::shared_ptr<Image> ref;

			Image(int width, int height, const uint8_t* rgb24data = 0);

			int width;
			int height;
			std::vector<uint8_t> data;
	};
}