+// This is a child document of ImageDocument: this document doesn't
+// correspond to any file on disk, it's part of ImageDocument and can't be
+// instantiated independently of it.
+class ImageDetailsDocument : public wxDocument
+{
+public:
+ ImageDetailsDocument(ImageDocument *parent);
+
+ // accessors for ImageDetailsView
+ wxSize GetSize() const { return m_size; }
+ unsigned long GetNumColours() const { return m_numColours; }
+ wxBitmapType GetType() const { return m_type; }
+ bool HasAlpha() const { return m_hasAlpha; }
+
+private:
+ // some information about the image we choose to show to the user
+ wxSize m_size;
+ unsigned long m_numColours;
+ wxBitmapType m_type;
+ bool m_hasAlpha;
+
+ wxDECLARE_NO_COPY_CLASS(ImageDetailsDocument);
+};
+