blob: 74ecf2485df37ea26183d0fc052ca18e9293cd6c (
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
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef _ASURA_IMAGE_DECODE_TASK_H_
#define _ASURA_IMAGE_DECODE_TASK_H_
#include <asura-utils/Threads/task.h>
#include <asura-utils/Scripting/Portable.hpp>
#include <asura-utils/Classes.h>
namespace_begin(AsuraEngine)
namespace_begin(Image)
class ImageDecodeTask
: public AEScripting::Portable<ImageDecodeTask, AEThreading::Task>
{
public:
///
/// ִɺtrueûص
///
bool Execute() override;
///
/// ûصinvoke threadص
///
void Invoke(lua_State* invokeThreaad) override;
luaxport:
LUAX_DECL_FACTORY(ImageDecodeTask, AEThreading::Task);
};
namespace_end
namespace_end
#endif
|