NeuroDactyl
image.h
Go to the documentation of this file.
1 
6 #ifndef _IMAGE_H_
7 #define _IMAGE_H_
8 
9 #pragma once
10 
11 #include <memory>
12 
13 #include "export.h"
14 
15 
16 namespace NeuroDactyl {
17 
23  class Image {
24  public:
25  virtual bool empty() const = 0;
26  virtual unsigned int width() const = 0;
27  virtual unsigned int height() const = 0;
28  virtual const unsigned char* data() const = 0;
29 
30  virtual ~Image() = default;
31  };
32 
41  FPSERVERSDK_API NeuroDactyl::Image* constructImage(unsigned int width, unsigned int height, const char* data);
42 
43 }
44 
45 
46 #endif /* _IMAGE_H_ */
Image Class for work with images.
Definition: image.h:23
FPSERVERSDK_API NeuroDactyl::Image * constructImage(unsigned int width, unsigned int height, const char *data)
Namespace containing all symbols from the NeuroDactyl SDK.
Definition: config.h:21