diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-15 00:14:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-15 00:14:28 +0100 |
| commit | bb767c7e338414beee132af3e96829c1448e214b (patch) | |
| tree | bec2858dcc7225a9bcc2acd8170c25508f6df6cb /src/tools/test.cc | |
| parent | 66c9be6bdb1361e5681e094a0c8170d268aa9518 (diff) | |
Move things round a bit.
Diffstat (limited to 'src/tools/test.cc')
| -rw-r--r-- | src/tools/test.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/tools/test.cc b/src/tools/test.cc new file mode 100644 index 000000000..f81814160 --- /dev/null +++ b/src/tools/test.cc @@ -0,0 +1,15 @@ +#include <stdint.h> +#include <boost/shared_ptr.hpp> +#include "image.h" +#include "server.h" + +using namespace boost; + +int main () +{ + uint8_t* rgb = new uint8_t[256]; + shared_ptr<Image> image (new Image (rgb, 0, 32, 32, 24)); + Server* s = new Server ("localhost", 2); + image->encode_remotely (s); + return 0; +} |
