summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/ScreenSharing/Image.h')
-rw-r--r--Swiften/ScreenSharing/Image.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/Swiften/ScreenSharing/Image.h b/Swiften/ScreenSharing/Image.h
new file mode 100644
index 0000000..5cdf043
--- /dev/null
+++ b/Swiften/ScreenSharing/Image.h
@@ -0,0 +1,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;
+ };
+}