#include <llfloaterimport.h>
Inheritance diagram for LLFloaterImport:


Definition at line 64 of file llfloaterimport.h.
| typedef std::map<LLUUID, LLPointer<LLImageRaw> > LLFloaterImport::image_map_t  [protected] | 
Definition at line 93 of file llfloaterimport.h.
| LLFloaterImport::LLFloaterImport | ( | const std::string | filename | ) | 
Definition at line 80 of file llfloaterimport.cpp.
References gDirUtilp, LLDir::getDirDelimiter(), mFilename, mFilenameAndPath, mFilePath, mObjectFile, NULL, and LLXMLNode::parseFile().
| LLFloaterImport::~LLFloaterImport | ( | ) |  [virtual] | 
| void LLFloaterImport::asset_uploaded_callback | ( | const LLUUID & | uuid, | |
| void * | user_data, | |||
| S32 | result, | |||
| LLExtStat | ext_status | |||
| ) |  [static, protected] | 
Definition at line 516 of file llfloaterimport.cpp.
References LLUUID::asString(), LLAssetType::AT_NONE, ImportAssetInfo::Desc, finishImport(), ImportAssetInfo::ImageFileQueue, LLInventoryType::IT_NONE, llendl, llinfos, LLResourceData::mAssetInfo, LLUploadDialog::modalUploadFinished(), LLResourceData::mUserData, LLAssetInfo::mUuid, ImportAssetInfo::Name, ImportAssetInfo::NewImageIDList, LLStringBase< char >::null, PERM_NONE, and upload_new_resource().
Referenced by onBtnOK().
| void LLFloaterImport::draw | ( | ) |  [protected, virtual] | 
Reimplemented from LLFloater.
Definition at line 394 of file llfloaterimport.cpp.
References LLImageGL::bindExternalTexture(), LLPanel::childGetRect(), LLFloater::draw(), f, format, gl_rect_2d_checkerboard(), glBegin, glEnd, LLRectBase< Type >::mBottom, mCurrentPreviewImage, mGLName, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, LLPointer< Type >::notNull(), stop_glerror, and LLImageGL::unbindTexture().
| void LLFloaterImport::finishImport | ( | ImportAssetInfo * | fp | ) |  [static, protected] | 
Definition at line 457 of file llfloaterimport.cpp.
Referenced by asset_uploaded_callback(), and onBtnOK().
Reimplemented from LLFloater.
Definition at line 611 of file llfloaterimport.cpp.
References LLScrollListCtrl::getAllSelected(), LLScrollListItem::getColumn(), LLScrollListCtrl::getLastSelectedItem(), LLScrollListCell::getText(), LLScrollListItem::getUUID(), LLFloater::handleMouseDown(), LLUUID::isNull(), mCurrentPreviewImage, mGLName, mImageLabel, mImportList, mPreviewImages, LLUUID::notNull(), NULL, recalcCost(), LLUUID::setNull(), and LLTextBox::setText().
Definition at line 321 of file llfloaterimport.cpp.
References mPreviewImages.
Referenced by postBuild().
Definition at line 601 of file llfloaterimport.cpp.
References LLFloater::close().
Referenced by postBuild().
Definition at line 544 of file llfloaterimport.cpp.
References asset_uploaded_callback(), LLAssetType::AT_NONE, LLFloater::close(), ImportAssetInfo::Desc, ImportAssetInfo::FilenameAndPath, finishImport(), gDirUtilp, LLScrollListCtrl::getAllSelected(), LLDir::getDirDelimiter(), LLLineEditor::getText(), ImportAssetInfo::ImageFileQueue, LLInventoryType::IT_NONE, llendl, llinfos, mDescEditor, mFilenameAndPath, mImportList, mInventoryPath, mNameEditor, ImportAssetInfo::Name, LLStringBase< char >::null, ImportAssetInfo::OldImageIDList, PERM_NONE, ImportAssetInfo::SourcePath, and upload_new_resource().
Referenced by postBuild().
| BOOL LLFloaterImport::postBuild | ( | ) |  [virtual] | 
Reimplemented from LLPanel.
Definition at line 102 of file llfloaterimport.cpp.
References ADD_BOTTOM, LLScrollListCtrl::addElement(), LLScrollListCtrl::addSimpleItem(), DB_INV_ITEM_DESC_STR_LEN, DB_INV_ITEM_NAME_STR_LEN, FALSE, LLFile::fopen(), gDirUtilp, LLUICtrlFactory::getButtonByName(), LLDir::getDirDelimiter(), LLRectBase< Type >::getHeight(), LLUICtrlFactory::getLineEditorByName(), LLView::getRect(), LLViewerWindow::getRootView(), LLUICtrlFactory::getScrollListByName(), LLUICtrlFactory::getTextBoxByName(), LLRectBase< Type >::getWidth(), gViewerWindow, LLMD5::hex_digest(), llendl, llinfos, llmin(), LoadPreviewImage(), LLRectBase< Type >::mBottom, mCancelBtn, mDescEditor, mFilename, mFilenameAndPath, mImageLabel, mImportList, mInventoryPath, LLRectBase< Type >::mLeft, mNameEditor, mObjectFile, mOKBtn, LLView::mRect, onBtnCancel(), onBtnOK(), LLLineEditor::prevalidatePrintableNotPipe(), recalcCost(), LLStringBase< char >::replaceChar(), LLStringBase< char >::replaceNonstandardASCII(), S32, LLScrollListCtrl::setAllowMultipleSelection(), LLUICtrl::setCallbackUserData(), LLScrollListCtrl::setCanSelect(), LLButton::setClickedCallback(), LLPanel::setDefaultBtn(), LLView::setEnabled(), LLLineEditor::setMaxTextLength(), LLLineEditor::setPrevalidate(), LLLineEditor::setText(), LLFloater::setTitle(), LLStringBase< char >::stripNonprintable(), LLView::translate(), LLStringBase< char >::trim(), and TRUE.
| void LLFloaterImport::recalcCost | ( | ) | 
Definition at line 362 of file llfloaterimport.cpp.
Referenced by handleMouseDown(), and postBuild().
| static void LLFloaterImport::setOKText | ( | const char * | text | ) |  [inline, static] | 
| LLButton* LLFloaterImport::mCancelBtn  [protected] | 
| LLPointer<LLImageRaw> LLFloaterImport::mCurrentPreviewImage  [protected] | 
| LLLineEditor* LLFloaterImport::mDescEditor  [protected] | 
| LLString LLFloaterImport::mFilename  [protected] | 
| LLString LLFloaterImport::mFilenameAndPath  [protected] | 
Definition at line 88 of file llfloaterimport.h.
Referenced by LLFloaterImport(), onBtnOK(), and postBuild().
| LLString LLFloaterImport::mFilePath  [protected] | 
| GLuint LLFloaterImport::mGLName  [protected] | 
Definition at line 96 of file llfloaterimport.h.
Referenced by draw(), handleMouseDown(), and ~LLFloaterImport().
| LLTextBox* LLFloaterImport::mImageLabel  [protected] | 
| LLUploadDialog* LLFloaterImport::mImportDialog  [protected] | 
Definition at line 98 of file llfloaterimport.h.
| LLScrollListCtrl* LLFloaterImport::mImportList  [protected] | 
Definition at line 81 of file llfloaterimport.h.
Referenced by handleMouseDown(), onBtnOK(), and postBuild().
| LLString LLFloaterImport::mInventoryPath  [protected] | 
| LLLineEditor* LLFloaterImport::mNameEditor  [protected] | 
| LLXMLNodePtr LLFloaterImport::mObjectFile  [protected] | 
| LLButton* LLFloaterImport::mOKBtn  [protected] | 
| image_map_t LLFloaterImport::mPreviewImages  [protected] | 
Definition at line 94 of file llfloaterimport.h.
Referenced by handleMouseDown(), and LoadPreviewImage().
| LLUUID LLFloaterImport::sImportRequestID  [static] | 
Definition at line 76 of file llfloaterimport.h.
| LLString LLFloaterImport::sOKText = LLString()  [static, protected] | 
 1.4.7
 1.4.7