MinitScript  0.9.31 PRE-BETA
NativeLibrary.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
8 
9 using std::string;
10 
12 
15 
16 /**
17  * Native script library
18  * @author Andreas Drewke
19  */
21 {
22 
23 public:
24  // forbid class copy
26 
27  /**
28  * Public constructor
29  * @param context context or nullptr
30  */
32  }
33 
34  /**
35  * Load script from library
36  * @param pathName path name
37  * @param fileName file name
38  * @param basePathName base path name
39  * @return MinitScript script from library
40  */
41  virtual MinitScript* loadScript(const string& pathName, const string& fileName, const string& basePathName = string()) override;
42 
43 };
virtual MinitScript * loadScript(const string &pathName, const string &fileName, const string &basePathName=string()) override
Load script from library.
#define _FORBID_CLASS_COPY(CLASS)
Definition: minitscript.h:9