Michael Uleysky
9 years ago
3 changed files with 17 additions and 13 deletions
@ -1,6 +1,19 @@ |
|||||||
#ifndef COMMON_H |
#ifndef COMMON_H |
||||||
#define COMMON_H |
#define COMMON_H |
||||||
|
#include <iostream> |
||||||
|
#include <string> |
||||||
|
|
||||||
#define EXPORT __attribute__ ((visibility ("default"))) |
#define EXPORT __attribute__ ((visibility ("default"))) |
||||||
|
|
||||||
|
enum debug_level {INTERNALREQUEST,MOREDEBUG,DEBUG,INFO,NORMAL,WARNING,ERROR}; |
||||||
|
EXPORT std::ostream& COUT(debug_level dl); |
||||||
|
|
||||||
|
class ObjectBase; |
||||||
|
class ObjectList; |
||||||
|
typedef ObjectBase* (*Func)(ObjectList*); |
||||||
|
|
||||||
|
extern "C" { |
||||||
|
EXPORT void RegisterFunction(const std::string& name, Func func); |
||||||
|
} |
||||||
|
|
||||||
#endif |
#endif |
Loading…
Reference in new issue