aboutsummaryrefslogtreecommitdiff
path: root/include/Utils.hpp
blob: 08bf4db842bdeca476cd196bac0ea32a4cdf2ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <time.h>
#include <string>

namespace QuickMedia {
    float get_ui_scale();
    float get_font_scale();
    void show_virtual_keyboard();
    void hide_virtual_keyboard();
    bool is_touch_enabled();
    bool is_running_wayland();
    time_t iso_utc_to_unix_time(const char *time_str);
    std::string unix_time_to_local_time_str(time_t unix_time);
}