iv_msgunit.h 381 B

123456789101112131415161718192021
  1. #ifndef IV_MSGUNIT_H
  2. #define IV_MSGUNIT_H
  3. #include <memory>
  4. namespace iv {
  5. struct msgunit
  6. {
  7. char mstrmsgname[256];
  8. int mnBufferSize = 10000;
  9. int mnBufferCount = 1;
  10. void * mpa = nullptr;
  11. std::shared_ptr<char> mpstrmsgdata;
  12. int mndatasize = 0;
  13. bool mbRefresh = false;
  14. bool mbImportant = false;
  15. int mnkeeptime = 100;
  16. };
  17. }
  18. #endif // IV_MSGUNIT_H