blob: 4d047ea769ccf30564cd9d50ebbf7de63050bc01 (
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
36
37
38
|
#ifndef __ASURA_ENGINE_RENEWABLE_H__
#define __ASURA_ENGINE_RENEWABLE_H__
#include "../scripting/portable.hpp"
#include "decoded_data.h"
namespace AsuraEngine
{
namespace IO
{
///
/// ¹ݽṹͼƬƵ֣ӽݿֱӹڱ༭
/// ¹handleֵı䲻߱ƻԣڲıhandleԴ
///
ASURA_ABSTRACT class Renewable
{
public:
Renewable() {};
virtual ~Renewable() {};
///
/// ̳RenewableҪṩһUpdate
///
/// Effective C++09.Ӧýֹڹ캯еvirtualUpdate
/// ӹ캯г룬ҪֶUpdate
///
virtual bool Update(AEIO::DecodedData* decode_data) = 0;
};
}
}
namespace AEIO = AsuraEngine::IO;
#endif
|