12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef IVEXIT_H
- #define IVEXIT_H
- #include <QtCore/qglobal.h>
- #include <QDateTime>
- #include <functional>
- #if defined(IVEXIT_LIBRARY)
- # define IVEXITSHARED_EXPORT Q_DECL_EXPORT
- #else
- # define IVEXITSHARED_EXPORT Q_DECL_IMPORT
- #endif
- //#include <iostream>
- //#include <thread>
- //using namespace std::placeholders;
- typedef std::function<void()> 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
|