image_errors.h
Go to the documentation of this file.00001
00011 #ifndef IMAGE_ERRORS_H
00012 #define IMAGE_ERRORS_H
00013
00014 #include <list>
00015 #include <string>
00016
00017 class inverted_profile;
00018 class extra_images;
00019
00021 enum image_error {
00022 image_ok = 0,
00023 image_not_found,
00024 image_unreadable,
00025 image_format_failure,
00026 image_multiple_match
00027 };
00028
00031 void
00032 report_image_error(std::string const & image, image_error error, bool fatal,
00033 extra_images const & extra);
00034
00036 void report_image_error(inverted_profile const & profile, bool fatal,
00037 extra_images const & extra);
00038
00040 void report_image_errors(std::list<inverted_profile> const & plist,
00041 extra_images const & extra);
00042
00043 #endif