bug#16785. r:neeti@netscape.com. Clean up after changing mime handling in imglib.

This commit is contained in:
pnunn%netscape.com 1999-10-22 21:06:28 +00:00
Родитель eca5413d1f
Коммит be747bfa82
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -18,7 +18,6 @@
#include "nsIImageManager.h"
#include "libimg.h"
#include "il_strm.h"
#include "nsCRT.h"
#include "nsImageNet.h"
@ -39,7 +38,7 @@ public:
virtual PRInt32 GetCacheSize(void);
virtual PRInt32 ShrinkCache(void);
NS_IMETHOD FlushCache(void);
virtual nsImageType GetImageType(const char *buf, PRInt32 length);
// virtual nsImageType GetImageType(const char *buf, PRInt32 length);
private:
ilISystemServices *mSS;
@ -105,7 +104,8 @@ ImageManagerImpl::FlushCache(void)
IL_FlushCache();
return NS_OK;
}
#if 0
//obsolete, ptn test
nsImageType
ImageManagerImpl::GetImageType(const char *buf, PRInt32 length)
{
@ -131,6 +131,7 @@ ImageManagerImpl::GetImageType(const char *buf, PRInt32 length)
return nsImageType_kUnknown;
}
}
#endif
extern "C" NS_GFX_(nsresult)
NS_NewImageManager(nsIImageManager **aInstancePtrResult)

Просмотреть файл

@ -30,7 +30,7 @@
#include "nsNeckoUtil.h"
#endif // NECKO
#include "nsString.h"
#include "il_strm.h"
static NS_DEFINE_IID(kIImageURLIID, IL_IURL_IID);