blob: 5cdf043d9bfd644aa7a34e12f3e3417ede81d391 (
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, uint8_t* rgb24data = 0);
int width;
int height;
std::vector<uint8_t> data;
};
}
|