#ifndef IVEXIT_H #define IVEXIT_H #include #include #include #if defined(IVEXIT_LIBRARY) # define IVEXITSHARED_EXPORT Q_DECL_EXPORT #else # define IVEXITSHARED_EXPORT Q_DECL_IMPORT #endif //#include //#include //using namespace std::placeholders; typedef std::function IVExitFun; typedef void (* IVExitCallBack)(); namespace iv { namespace ivexit { void * IVEXITSHARED_EXPORT RegIVExitCmd(); void IVEXITSHARED_EXPORT ExecIVExitCmd(void * handle,const char * strsyscmd); void * IVEXITSHARED_EXPORT RegIVExitCall(IVExitCallBack pCall,bool bcommonexit = true); void * IVEXITSHARED_EXPORT RegIVExitCallPlus(IVExitFun xFun,bool bcommonexit = true); } } #endif