1234567891011121314151617181920212223242526 |
- #ifndef IVFAULT_H
- #define IVFAULT_H
- #include <QtCore/qglobal.h>
- #if defined(IVFAULT_LIBRARY)
- # define IVFAULTSHARED_EXPORT Q_DECL_EXPORT
- #else
- # define IVFAULTSHARED_EXPORT Q_DECL_IMPORT
- #endif
- namespace iv {
- class IVFAULTSHARED_EXPORT Ivfault
- {
- public:
- Ivfault(const char * strmodulename);
- int SetFaultState(int nFaultClass,int nFaultNum,const char * strfaultdesc); // nFaultClasss: 0 No Fault 1 Warning 2 Fault
- private:
- void * mpimpl;
- };
- }
- #endif // IVFAULT_H
|