Debian Codegraph @

terps/bocfel/osdep.h

raw symbols SCIP
1 // vim: set ft=cpp:
2
3 #ifndef ZTERP_OSDEP_H
4 #define ZTERP_OSDEP_H
5
6 #include <cstdio>
7 #include <memory>
8 #include <string>
9 #include <utility>
10 #include <vector>
11
12 #include "screen.h"
13 #include "types.h"
14
15 long zterp_os_filesize(std::FILE *fp);
16 std::unique_ptr<std::string> zterp_os_rcfile(bool create_parent);
17 std::unique_ptr<std::string> zterp_os_autosave_name();
18 std::unique_ptr<std::string> zterp_os_aux_file(const std::string &filename);
19 void zterp_os_edit_file(const std::string &filename);
20 std::vector<char> zterp_os_edit_notes(const std::vector<char> &notes);
21 void zterp_os_show_transcript(const std::vector<char> &transcript);
22
23 #ifndef ZTERP_GLK
24 std::pair<unsigned int, unsigned int> zterp_os_get_screen_size();
25 void zterp_os_init_term();
26 bool zterp_os_have_style(StyleBit style);
27 bool zterp_os_have_colors();
28 void zterp_os_set_style(const Style &style, const Color &fg, const Color &bg);
29 #endif
30
31 #endif