diff options
Diffstat (limited to 'linden/indra/llimage/llimagej2c.h')
-rw-r--r-- | linden/indra/llimage/llimagej2c.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/llimage/llimagej2c.h b/linden/indra/llimage/llimagej2c.h index 2b4a3ec..f4d651f 100644 --- a/linden/indra/llimage/llimagej2c.h +++ b/linden/indra/llimage/llimagej2c.h | |||
@@ -54,6 +54,10 @@ public: | |||
54 | /*virtual*/ S32 calcDataSize(S32 discard_level = 0); | 54 | /*virtual*/ S32 calcDataSize(S32 discard_level = 0); |
55 | /*virtual*/ S32 calcDiscardLevelBytes(S32 bytes); | 55 | /*virtual*/ S32 calcDiscardLevelBytes(S32 bytes); |
56 | /*virtual*/ S8 getRawDiscardLevel(); | 56 | /*virtual*/ S8 getRawDiscardLevel(); |
57 | // Override these so that we don't try to set a global variable from a DLL | ||
58 | /*virtual*/ void resetLastError(); | ||
59 | /*virtual*/ void setLastError(const std::string& message, const std::string& filename = std::string()); | ||
60 | |||
57 | 61 | ||
58 | // Encode with comment text | 62 | // Encode with comment text |
59 | BOOL encode(const LLImageRaw *raw_imagep, const char* comment_text, F32 encode_time=0.0); | 63 | BOOL encode(const LLImageRaw *raw_imagep, const char* comment_text, F32 encode_time=0.0); |
@@ -86,6 +90,7 @@ protected: | |||
86 | F32 mRate; | 90 | F32 mRate; |
87 | BOOL mReversible; | 91 | BOOL mReversible; |
88 | LLImageJ2CImpl *mImpl; | 92 | LLImageJ2CImpl *mImpl; |
93 | std::string mLastError; | ||
89 | }; | 94 | }; |
90 | 95 | ||
91 | // Derive from this class to implement JPEG2000 decoding | 96 | // Derive from this class to implement JPEG2000 decoding |