Utils.hpp 450 B

1234567891011121314151617
  1. #pragma once
  2. #include <time.h>
  3. #include <string>
  4. #include <mglpp/system/vec.hpp>
  5. namespace QuickMedia {
  6. void show_virtual_keyboard();
  7. void hide_virtual_keyboard();
  8. bool is_touch_enabled();
  9. bool is_running_wayland(void *dpy);
  10. time_t iso_utc_to_unix_time(const char *time_str);
  11. std::string unix_time_to_local_time_str(time_t unix_time);
  12. int64_t get_boottime_milliseconds();
  13. mgl::vec2f vec2f_floor(float x, float y);
  14. }