#ifndef RETURN_CODE_H #define RETURN_CODE_H /* ** Make sure we can call this stuff from C++. */ #ifdef __cplusplus extern "C" { #endif enum C_RETURN_CODE { C_RETURN_CODE_OK = 0, C_RETURN_CODE_NOT_OK, C_RETURN_CODE_VIRTUAL_FUNCTION, C_RETURN_CODE_INVALID_PARAMENTER, C_RETURN_CODE_END }; typedef struct returnCodeC RETURN_CODE_C; typedef struct returnCodeC { const char *(*printStringCode)(const RETURN_CODE_C); const long int mCode; } RETURN_CODE_C; const RETURN_CODE_C CreateReturnCode(const long int code); static inline const char *GetStringCode(const RETURN_CODE_C code) { return 0; } #ifdef __cplusplus } #endif #endif