]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - LinuxGUI/Ventoy2Disk/QT/ventoy_qt.h
1.1.01
[Ventoy.git] / LinuxGUI / Ventoy2Disk / QT / ventoy_qt.h
1 /******************************************************************************
2 * ventoy_qt.h
3 *
4 * Copyright (c) 2021, longpanda <admin@ventoy.net>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 3 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20 #ifndef __VENTOY_QT_H__
21 #define __VENTOY_QT_H__
22
23 int ventoy_disk_init(void);
24 void ventoy_disk_exit(void);
25 int ventoy_http_init(void);
26 void ventoy_http_exit(void);
27 int ventoy_log_init(void);
28 void ventoy_log_exit(void);
29 void *get_refresh_icon_raw_data(int *len);
30 void *get_secure_icon_raw_data(int *len);
31 void *get_window_icon_raw_data(int *len);
32 int ventoy_func_handler(const char *jsonstr, char *jsonbuf, int buflen);
33 const char * ventoy_code_get_cur_language(void);
34 int ventoy_code_get_cur_part_style(void);
35 void ventoy_code_set_cur_part_style(int style);
36 int ventoy_code_get_cur_show_all(void);
37 void ventoy_code_set_cur_show_all(int show_all);
38 void ventoy_code_set_cur_language(const char *lang);
39 void ventoy_code_save_cfg(void);
40 void ventoy_code_refresh_device(void);
41 int ventoy_code_is_busy(void);
42 int ventoy_code_get_percent(void);
43 int ventoy_code_get_result(void);
44
45 #endif /* __VENTOY_QT_H__ */
46
47