00001 // 00002 // Copyright [2009] Autodesk, Inc. All rights reserved. 00003 // 00004 // This computer source code and related instructions and comments are the 00005 // unpublished confidential and proprietary information of Autodesk, Inc. and 00006 // are protected under applicable copyright and trade secret law. They may 00007 // not be disclosed to, copied or used by any third party without the prior 00008 // written consent of Autodesk, Inc. 00009 // 00010 // 00011 00012 #pragma once 00013 00014 #include "ifnpub.h" 00015 #include "strbasic.h" 00016 #include "plugapi.h" 00017 00018 class Bitmap; 00019 00021 00026 #define IMATERIAL_BROWSER_ENTRY_INFO_INTERFACE Interface_ID(0x5e19378b, 0x55535e13) 00027 00029 00040 class IMaterialBrowserEntryInfo : public FPInterface 00041 { 00042 public: 00043 00044 inline Interface_ID GetID() { return IMATERIAL_BROWSER_ENTRY_INFO_INTERFACE; } 00045 00046 inline BaseInterface* GetInterface(Interface_ID id) { 00047 if( id==GetID() ) return this; 00048 else return FPInterface::GetInterface(id); 00049 } 00050 00051 inline FPInterfaceDesc* GetDesc() { return NULL; } 00052 00057 virtual const MCHAR* GetEntryName() const = 0; 00058 00065 virtual const MCHAR* GetEntryCategory() const = 0; 00066 00068 inline virtual bool IsStockObject() const { return false; } 00069 00077 virtual Bitmap* GetEntryThumbnail() const = 0; 00078 00084 inline virtual bool HasEntryThumbnail() const { return false; } 00085 };