javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/qt/imageloaderimpl.h
changeset 80 d6dafc5d983f
parent 21 2a9601315dfc
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
    22 {
    22 {
    23 public:
    23 public:
    24     /**
    24     /**
    25      * Ctor
    25      * Ctor
    26      */
    26      */
    27     ImageloaderImpl();
    27     ImageloaderImpl(TImageType aType);
    28 
    28 
    29     /**
    29     /**
    30      * Dtor
    30      * Dtor
    31      */
    31      */
    32     virtual ~ImageloaderImpl();
    32     virtual ~ImageloaderImpl();
    39     virtual void beginStream(int aBufferSize);
    39     virtual void beginStream(int aBufferSize);
    40     virtual Image* endStream();
    40     virtual Image* endStream();
    41     virtual void dispose();
    41     virtual void dispose();
    42     virtual Image* load(const QString& aFileName);
    42     virtual Image* load(const QString& aFileName);
    43     virtual void setLoadSize(int aWidth, int aHeight);
    43     virtual void setLoadSize(int aWidth, int aHeight);
       
    44     virtual void setResultImageType(TImageType aType);
    44 
    45 
    45 private:
    46 private:
    46     /**
    47     /**
    47      * Helper method for increasing internal buffer size
    48      * Helper method for increasing internal buffer size
    48      * @param newSize The total buffer size to which the buffer sould be grown to
    49      * @param newSize The total buffer size to which the buffer sould be grown to
    87         int allocation;
    88         int allocation;
    88     };
    89     };
    89     bufferData* mBufferData;
    90     bufferData* mBufferData;
    90     int loadSizeWidth;
    91     int loadSizeWidth;
    91     int loadSizeHeight;
    92     int loadSizeHeight;
       
    93     TImageType mResultImageType;
    92 };
    94 };
    93 
    95 
    94 } // namespace GFX
    96 } // namespace GFX
    95 } // namespace Java
    97 } // namespace Java
    96 
    98