#include <llmimetypes.h>
Public Types | |
typedef std::map< LLString, LLMIMEInfo > | mime_info_map_t |
typedef std::map< LLString, LLMIMEWidgetSet > | mime_widget_set_map_t |
Static Public Member Functions | |
static bool | parseMIMETypes (const LLString &xml_file_path) |
static LLString | translate (const LLString &mime_type) |
static LLString | widgetType (const LLString &mime_type) |
static LLString | implType (const LLString &mime_type) |
static LLString | findIcon (const LLString &mime_type) |
static LLString | findToolTip (const LLString &mime_type) |
static LLString | findPlayTip (const LLString &mime_type) |
static LLString | findDefaultMimeType (const LLString &widget_type) |
static bool | findAllowResize (const LLString &mime_type) |
static bool | findAllowLooping (const LLString &mime_type) |
Static Public Attributes | |
static mime_info_map_t | sMap |
static mime_widget_set_map_t | sWidgetMap |
Classes | |
struct | LLMIMEInfo |
struct | LLMIMEWidgetSet |
Definition at line 39 of file llmimetypes.h.
typedef std::map< LLString, LLMIMEInfo > LLMIMETypes::mime_info_map_t |
Definition at line 109 of file llmimetypes.h.
typedef std::map< LLString, LLMIMEWidgetSet > LLMIMETypes::mime_widget_set_map_t |
Definition at line 110 of file llmimetypes.h.
bool LLMIMETypes::parseMIMETypes | ( | const LLString & | xml_file_path | ) | [static] |
Definition at line 52 of file llmimetypes.cpp.
References FALSE, LLUICtrlFactory::getLayeredXMLNode(), LLPointer< Type >::isNull(), llendl, llwarns, LLMIMETypes::LLMIMEWidgetSet::mAllowLooping, LLMIMETypes::LLMIMEWidgetSet::mAllowResize, LLMIMETypes::LLMIMEWidgetSet::mDefaultMimeType, LLMIMETypes::LLMIMEWidgetSet::mIcon, LLMIMETypes::LLMIMEInfo::mImpl, LLMIMETypes::LLMIMEWidgetSet::mLabel, LLMIMETypes::LLMIMEInfo::mLabel, LLMIMETypes::LLMIMEWidgetSet::mPlayTip, LLMIMETypes::LLMIMEWidgetSet::mToolTip, LLMIMETypes::LLMIMEInfo::mWidgetType, NULL, sMap, and sWidgetMap.
Referenced by LLAppViewer::init().
Definition at line 152 of file llmimetypes.cpp.
References sMap.
Referenced by LLMediaRemoteCtrl::setToolTip().
Definition at line 166 of file llmimetypes.cpp.
References sMap.
Referenced by LLMediaRemoteCtrl::enableMediaButtons(), findAllowLooping(), findAllowResize(), findIcon(), findPlayTip(), findToolTip(), LLPanelLandMedia::onCommitType(), and LLPanelLandMedia::setMediaType().
Definition at line 194 of file llmimetypes.cpp.
References sWidgetMap, and widgetType().
Referenced by LLMediaRemoteCtrl::enableMediaButtons().
Definition at line 219 of file llmimetypes.cpp.
References sWidgetMap, and widgetType().
Referenced by LLMediaRemoteCtrl::setToolTip().
Definition at line 232 of file llmimetypes.cpp.
References sWidgetMap, and widgetType().
Referenced by LLMediaRemoteCtrl::setToolTip().
Definition at line 207 of file llmimetypes.cpp.
References sWidgetMap.
Referenced by LLPanelLandMedia::onCommitType().
bool LLMIMETypes::findAllowResize | ( | const LLString & | mime_type | ) | [static] |
Definition at line 245 of file llmimetypes.cpp.
References sWidgetMap, and widgetType().
Referenced by LLPanelLandMedia::refresh().
bool LLMIMETypes::findAllowLooping | ( | const LLString & | mime_type | ) | [static] |
Definition at line 258 of file llmimetypes.cpp.
References sWidgetMap, and widgetType().
Referenced by LLPanelLandMedia::refresh().
Definition at line 113 of file llmimetypes.h.
Referenced by implType(), LLViewerMedia::initClass(), parseMIMETypes(), translate(), and widgetType().
Definition at line 114 of file llmimetypes.h.
Referenced by findAllowLooping(), findAllowResize(), findDefaultMimeType(), findIcon(), findPlayTip(), findToolTip(), parseMIMETypes(), and LLPanelLandMedia::populateMIMECombo().