20 lines
355 B
C
20 lines
355 B
C
|
#pragma once
|
||
|
#include <string>
|
||
|
#if defined(_WIN32) && !defined(APIENTRY)
|
||
|
#define APIENTRY __stdcall
|
||
|
#endif
|
||
|
#if defined(_WIN32) && !defined(WINGDIAPI)
|
||
|
#define WINGDIAPI __declspec(dllimport)
|
||
|
#endif
|
||
|
#include <gl/GL.h>
|
||
|
#include <GL/khronos_glext.h>
|
||
|
|
||
|
class ImageHelper
|
||
|
{
|
||
|
public:
|
||
|
ImageHelper();
|
||
|
~ImageHelper();
|
||
|
static GLuint GetQr(std::string strcode);
|
||
|
};
|
||
|
|