IMLabel.h 1012 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * ImageMeter confidential
  3. *
  4. * Copyright (C) 2019 by Dirk Farin, Kronenstr. 49b, 70174 Stuttgart, Germany
  5. * All Rights Reserved.
  6. *
  7. * NOTICE: All information contained herein is, and remains the property
  8. * of Dirk Farin. The intellectual and technical concepts contained
  9. * herein are proprietary to Dirk Farin and are protected by trade secret
  10. * and copyright law.
  11. * Dissemination of this information or reproduction of this material
  12. * is strictly forbidden unless prior written permission is obtained
  13. * from Dirk Farin.
  14. */
  15. #ifndef IMAGEMETER_IMLABEL_H
  16. #define IMAGEMETER_IMLABEL_H
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. #include <stdint.h>
  21. #include <stdbool.h>
  22. struct IM_Label;
  23. void IM_Label_release(struct IM_Label*);
  24. // returns 'true' when this is a value dimension value
  25. bool IM_Label_set_value_from_string(struct IM_Label*, const char* value_string);
  26. const char* IM_Label_get_value_as_string(const struct IM_Label*);
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30. #endif //IMAGEMETER_IMLABEL_H