My Project
Loading...
Searching...
No Matches
_messages.h
1#ifndef MESSAGES_H
2#define MESSAGES_H
3
12static const char
13 *MSG_WRONG_USAGE = "Usage: ./image-transformer <input> <output> <angle>";
14static const char
15 *MSG_INCORRECT_ANGLE = "Incorrect angle format. Should be one of: 0, 90, "
16 "-90, 180, -180, 270, -270";
17static const char *MSG_CANNOT_READ = "Cannot read %s.";
18static const char
19 *MSG_BAD_HEADER = "Bad image header. Are you sure it is BMP file?";
20static const char *MSG_UNSUPPORTED_FORMAT =
21 "Wrong image format. Are you sure it is BMP file?";
22static const char
23 *MSG_UNSUPPORTED_COLOR_DEPTH = "Sorry, we support only 24-bit images >_<";
24static const char *MSG_UNSUPPORTED_COMPRESSION =
25 "Sorry, we support only uncompressed images >_<";
26static const char *MSG_BAD_FILE = "Probably, your file is lost or corrupted.";
27static const char
28 *MSG_LARGE_FILE = "I am not sure I can fit so large file (,,>﹏<,,)";
29static const char
30 *MSG_BAD_IMAGE_DATA = "Image data is corrupted. Probably internal error.";
31static const char *MSG_CANNOT_WRITE = "Cannot write %s.";
32static const char *MSG_SUCCESS = "Transformed image successfully saved in %s";
33
34#endif /* MESSAGES_H */