aboutsummaryrefslogtreecommitdiff
path: root/include/Utils.hpp
blob: 7aec9e6a6cd2059e92bb28bc6545e60957d28183 (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();
    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);
    int64_t get_unix_time_monotonic();
}