+ struct Image {
+ unsigned width, height;
+ RefCountedTexture tex;
+ timespec last_modified;
+ };
+ static std::shared_ptr<const Image> load_image(const std::string &filename, const std::string &pathname);
+
+ // Actual members.
+
+ ImageInput(); // Construct an empty input, which can't be used until you call switch_image().