screenshot interface facilitates storing screenshots. It
is implemented by the graphics console.
All screenshots store current screen data, using 24-bit RGB pixel format.
SIM_INTERFACE(screenshot) {
bool (*save_png)(conf_object_t *NOTNULL obj, const char *filename);
bool (*save_bmp)(conf_object_t *NOTNULL obj, const char *filename);
};
#define SCREENSHOT_INTERFACE "screenshot"