llviewermenufile.h File Reference

"File" menu in the main menu bar. More...

#include "llassettype.h"
#include "llinventorytype.h"

Include dependency graph for llviewermenufile.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void init_menu_file ()
void upload_new_resource (const LLString &src_filename, std::string name, std::string desc, S32 compression_info, LLAssetType::EType destination_folder_type, LLInventoryType::EType inv_type, U32 next_owner_perm=0x0, const LLString &display_name=LLString::null, LLAssetStorage::LLStoreAssetCallback callback=NULL, void *userdata=NULL)
void upload_new_resource (const LLTransactionID &tid, LLAssetType::EType type, std::string name, std::string desc, S32 compression_info, LLAssetType::EType destination_folder_type, LLInventoryType::EType inv_type, U32 next_owner_perm=0x0, const LLString &display_name=LLString::null, LLAssetStorage::LLStoreAssetCallback callback=NULL, void *userdata=NULL)


Detailed Description

"File" menu in the main menu bar.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llviewermenufile.h.


Function Documentation

void init_menu_file (  ) 

Definition at line 1029 of file llviewermenufile.cpp.

References gMenuHolder.

Referenced by initialize_menus().

void upload_new_resource ( const LLTransactionID tid,
LLAssetType::EType  type,
std::string  name,
std::string  desc,
S32  compression_info,
LLAssetType::EType  destination_folder_type,
LLInventoryType::EType  inv_type,
U32  next_owner_perm = 0x0,
const LLString display_name = LLString::null,
LLAssetStorage::LLStoreAssetCallback  callback = NULL,
void userdata = NULL 
)

Definition at line 915 of file llviewermenufile.cpp.

References LLAssetType::AT_ANIMATION, LLAssetType::AT_NONE, LLAssetType::AT_SOUND, LLAssetType::AT_TEXTURE, LLFloaterBuyCurrency::buyCurrency(), LLInventoryType::defaultForAssetType(), FALSE, LLInventoryModel::findCategoryUUIDForType(), gAgent, gAgentID, gAssetStorage, LLStatusBar::getBalance(), LLViewerRegion::getCapability(), LLGlobalEconomy::getPriceUpload(), LLAgent::getRegion(), LLAgent::getSecureSessionID(), gGlobalEconomy, gInventory, gStatusBar, gViewerStats, LLViewerStats::incStat(), LLInventoryType::IT_NONE, lldebugs, llendl, llinfos, LLInventoryType::lookup(), LLAssetType::lookup(), LLTransactionID::makeAssetID(), LLResourceData::mAssetInfo, LLAssetInfo::mCreatorID, LLResourceData::mInventoryType, LLResourceData::mNextOwnerPerm, LLUploadDialog::modalUploadDialog(), LLResourceData::mPreferredLocation, LLAssetInfo::mTransactionID, LLAssetInfo::mType, LLResourceData::mUserData, LLAssetInfo::mUuid, LLHTTPClient::post(), S32, LLAssetInfo::setDescription(), LLAssetInfo::setName(), LLViewerStats::ST_UPLOAD_ANIM_COUNT, LLViewerStats::ST_UPLOAD_SOUND_COUNT, LLViewerStats::ST_UPLOAD_TEXTURE_COUNT, LLAssetStorage::storeAssetData(), LLStringBase< char >::stripNonprintable(), LLSDSerialize::toXML(), and upload_done_callback().

void upload_new_resource ( const LLString src_filename,
std::string  name,
std::string  desc,
S32  compression_info,
LLAssetType::EType  destination_folder_type,
LLInventoryType::EType  inv_type,
U32  next_owner_perm = 0x0,
const LLString display_name = LLString::null,
LLAssetStorage::LLStoreAssetCallback  callback = NULL,
void userdata = NULL 
)

Definition at line 483 of file llviewermenufile.cpp.

References LLViewerWindow::alertXml(), LLAssetType::AT_NONE, LLAssetType::AT_OBJECT, LLAssetType::AT_SOUND, LLAssetType::AT_TEXTURE, LLStringBase< char >::compareInsensitive(), LLViewerImageList::createUploadFile(), encode_vorbis_file_at(), FALSE, LLFile::fopen(), gAgent, gDirUtilp, LLUUID::generate(), LLDir::getDirDelimiter(), LLImageBase::getLastError(), LLAgent::getSecureSessionID(), LLDir::getTempFilename(), gVFS, gViewerWindow, IMG_CODEC_BMP, IMG_CODEC_JPEG, IMG_CODEC_PNG, IMG_CODEC_TGA, LLFilePicker::instance(), ll_apr_file_open(), ll_apr_file_read(), LL_APR_RB, lldebugs, llendl, llinfos, LLVORBISENC_DEST_OPEN_ERR, LLVORBISENC_NOERR, llwarns, LLTransactionID::makeAssetID(), MAX_STRING, LLFile::remove(), LLFilePicker::reset(), S32, LLVFile::setMaxSize(), TRUE, upload_error(), upload_new_resource(), LLVFile::write(), and LLVFile::WRITE.


Generated on Thu Jul 1 06:10:47 2010 for Second Life Viewer by  doxygen 1.4.7