LoveBrains  1.0.0
plugin_const.h
1 /*
2 ** plugin_const.h for LoveBrains in /home/robin_f/Programming/Git/CPP/LoveBrains
3 **
4 ** Made by Guillaume ROBIN
5 ** Login <robin_f@epitech.eu>
6 **
7 ** Started on Thu Jul 30 11:51:25 2015 Guillaume ROBIN
8 ** Last update Thu Jul 30 14:04:28 2015 Guillaume ROBIN
9 */
10 
11 #ifndef PLUGIN_CONST_H_
12 # define PLUGIN_CONST_H_
13 
14 /*
15 ** String Errors.
16 */
17 # define ERR_PLUGIN_DIR (const char *)"Error: PluginManager: directory not found"
18 # define ERR_PLUGIN_CLOSEDIR (const char *)"Error: PluginManager: cannot close the directory"
19 # define ERR_PLUGIN_DLOPEN (const char *)"Error: PluginManager: cannot open a plugin"
20 # define ERR_PLUGIN_INVALID (const char *)"Error: PluginManager: invalid plugin"
21 # define ERR_PLUGIN_DLCLOSE (const char *)"Error: PluginManager: cannot close a plugin"
22 
23 /*
24 ** Default values.
25 */
26 # define DEF_PATH_DIRECTORY (const char *)"./mods/"
27 # define DEF_NAME_EXT (const char *)".so"
28 # define DEF_PLUGIN_STARTFUNC (const char *)"CreatePlugin"
29 
30 #endif /* !PLUGIN_CONST_H_ */