xmlparam.h 502 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef XMLPARAM_H
  2. #define XMLPARAM_H
  3. #include <QtCore/qglobal.h>
  4. #include <string>
  5. #if defined(XMLPARAM_LIBRARY)
  6. # define XMLPARAMSHARED_EXPORT Q_DECL_EXPORT
  7. #else
  8. # define XMLPARAMSHARED_EXPORT Q_DECL_IMPORT
  9. #endif
  10. namespace iv {
  11. namespace xmlparam {
  12. class XMLPARAMSHARED_EXPORT Xmlparam
  13. {
  14. public:
  15. Xmlparam(std::string filepath);
  16. std::string GetParam(std::string paramname,std::string defaultvalue);
  17. QString GetVersion();
  18. private:
  19. int * mpx;
  20. };
  21. }
  22. }
  23. #endif // XMLPARAM_H