summaryrefslogtreecommitdiff
path: root/source/modules/asura-utils/io/renewable.h
blob: 282106d968be9bd531a3ec22b977268de8ea8488 (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ҪṩһRefresh
			/// 
			/// Effective C++09.Ӧýֹڹ캯еvirtualRefresh
			/// ӹ캯г룬ҪֶRefresh
			///
			virtual bool Refresh(AEIO::DecodedData* decode_data) = 0;

		};

	}
}

namespace AEIO = AsuraEngine::IO;

#endif