summaryrefslogtreecommitdiff
path: root/indra/llimage/llimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llimage/llimage.h')
-rw-r--r--indra/llimage/llimage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llimage/llimage.h b/indra/llimage/llimage.h
index 65a7c54a50..ca19198332 100644
--- a/indra/llimage/llimage.h
+++ b/indra/llimage/llimage.h
@@ -60,7 +60,7 @@ class LLImageFormatted;
class LLImageRaw;
class LLColor4U;
-enum
+typedef enum e_image_codec
{
IMG_CODEC_INVALID = 0,
IMG_CODEC_RGB = 1,
@@ -71,7 +71,7 @@ enum
IMG_CODEC_DXT = 6,
IMG_CODEC_PNG = 7,
IMG_CODEC_EOF = 8
-};
+} EImageCodec;
//============================================================================
@@ -124,6 +124,8 @@ public:
static void setSizeOverride(BOOL enabled) { sSizeOverride = enabled; }
+ static EImageCodec getCodecFromExtension(const LLString& exten);
+
private:
U8 *mData;
S32 mDataSize;