diff options
Diffstat (limited to 'tools/eos-profile-tool/eos-profile-utils.h')
-rw-r--r-- | tools/eos-profile-tool/eos-profile-utils.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/eos-profile-tool/eos-profile-utils.h b/tools/eos-profile-tool/eos-profile-utils.h new file mode 100644 index 0000000..b6030c2 --- /dev/null +++ b/tools/eos-profile-tool/eos-profile-utils.h @@ -0,0 +1,23 @@ +#pragma once + +#include <glib.h> + +typedef enum { + EOS_PRINT_COLOR_GREEN, + EOS_PRINT_COLOR_BLUE, + EOS_PRINT_COLOR_YELLOW, + EOS_PRINT_COLOR_RED, + + EOS_PRINT_COLOR_NONE +} EosPrintColor; + +void eos_profile_util_print_message (const char *prefix, + EosPrintColor color, + const char *fmt, + ...) G_GNUC_PRINTF (3, 4); + +void eos_profile_util_print_error (const char *msg, + ...) G_GNUC_PRINTF (1, 2); + +void eos_profile_util_print_warning (const char *msg, + ...) G_GNUC_PRINTF (1, 2); |