diff options
author | xsmile | 2018-07-02 22:51:10 +0200 |
---|---|---|
committer | xsmile | 2018-07-02 22:51:10 +0200 |
commit | e9b4bfa9b8b176e8b291fe8115e59242e302a6a2 (patch) | |
tree | 8d6e021191cf5cf695f4d3beec9cc142f0d043c4 /ui_pyroscope.h | |
parent | d1e56fd0fdfbe3d8d7c8c2bfc20b8f800ceb66e5 (diff) | |
download | aur-e9b4bfa9b8b176e8b291fe8115e59242e302a6a2.tar.gz |
update
Diffstat (limited to 'ui_pyroscope.h')
-rw-r--r-- | ui_pyroscope.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ui_pyroscope.h b/ui_pyroscope.h index cb831c449891..aee5ada5afde 100644 --- a/ui_pyroscope.h +++ b/ui_pyroscope.h @@ -17,6 +17,8 @@ enum AlertKind { ALERT_REQUEST, ALERT_GONE, ALERT_PERMS, + ALERT_DOWN, + ALERT_DNS, ALERT_MAX }; @@ -67,6 +69,9 @@ enum ColorKind { } // namespace -extern void add_capability(const char* name); // defined in command_pyroscope.cc +// defined in command_pyroscope.cc (exported here so we only have to patch in one .h) +extern void add_capability(const char* name); +extern size_t u8_length(const std::string& text); +extern std::string u8_chop(const std::string& text, size_t glyphs); #endif |