UGDK
0.4.1
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
module.h
Go to the documentation of this file.
1
2
#ifndef UGDK_SCRIPT_MODULE_H_
3
#define UGDK_SCRIPT_MODULE_H_
4
5
#include <string>
6
7
namespace
ugdk {
8
namespace
script {
9
10
template
<
class
loader_t>
11
class
Module
{
12
public
:
13
Module
(
const
std::string&
name
, loader_t
init_func
) :
14
name_(name),
15
init_func_(init_func) {}
16
const
std::string&
name
()
const
{
return
name_; }
17
loader_t
init_func
()
const
{
return
init_func_; }
18
private
:
19
std::string name_;
20
loader_t init_func_;
21
};
22
23
}
/* namespace script */
24
}
/* namespace ugdk */
25
26
#endif
/* UGDK_SCRIPT_MODULE_H_ */
src
ugdk
script
module.h
Generated on Sat Oct 13 2012 02:25:11 for UGDK by
1.8.2