IQImageProvider.h
Go to the documentation of this file.
1 #ifndef iimg_IQImageProvider_included
2 #define iimg_IQImageProvider_included
3 
4 
5 // Qt includes
6 #include <QtGui/QImage>
7 
8 // ACF includes
9 #include <istd/IPolymorphic.h>
10 #include <iimg/iimg.h>
11 
12 
13 namespace iimg
14 {
15 
16 
20 class IQImageProvider: virtual public istd::IPolymorphic
21 {
22 public:
23 
27  virtual const QImage& GetQImage() const = 0;
28 
34  virtual bool CopyImageFrom(const QImage& image) = 0;
35 };
36 
37 
38 } // namespace iimg
39 
40 
41 #endif // !iimg_IQImageProvider_included
42 
43 
virtual const QImage & GetQImage() const =0
Gets a QImage object.
Interface for QImage object provider.
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
virtual bool CopyImageFrom(const QImage &image)=0
Copies the image data from a QImage object.

© 2007-2017 Witold Gantzke and Kirill Lepskiy