LLPanelEstateCovenant Class Reference

#include <llfloaterregioninfo.h>

Inheritance diagram for LLPanelEstateCovenant:

Inheritance graph
[legend]
Collaboration diagram for LLPanelEstateCovenant:

Collaboration graph
[legend]

List of all members.

Public Types

enum  e_asset_status { ASSET_ERROR, ASSET_UNLOADED, ASSET_LOADING, ASSET_LOADED }
typedef enum
LLPanelEstateCovenant::e_asset_status 
EAssetStatus

Public Member Functions

 LLPanelEstateCovenant ()
 ~LLPanelEstateCovenant ()
virtual BOOL postBuild ()
virtual void updateChild (LLUICtrl *child_ctrl)
virtual bool refreshFromRegion (LLViewerRegion *region)
virtual bool estateUpdate (LLMessageSystem *msg)
BOOL handleDragAndDrop (S32 x, S32 y, MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data, EAcceptance *accept, LLString &tooltip_msg)
void sendChangeCovenantID (const LLUUID &asset_id)
void loadInvItem (LLInventoryItem *itemp)
const LLUUIDgetCovenantID () const
void setCovenantID (const LLUUID &id)
const std::string & getEstateName () const
void setEstateName (const std::string &name)
const std::string & getOwnerName () const
void setOwnerName (const std::string &name)
void setCovenantTextEditor (const std::string &text)

Static Public Member Functions

static void confirmChangeCovenantCallback (S32 option, void *userdata)
static void resetCovenantID (void *userdata)
static void confirmResetCovenantCallback (S32 option, void *userdata)
static void onLoadComplete (LLVFS *vfs, const LLUUID &asset_uuid, LLAssetType::EType type, void *user_data, S32 status, LLExtStat ext_status)
static void updateCovenantText (const std::string &string, const LLUUID &asset_id)
static void updateEstateName (const std::string &name)
static void updateLastModified (const std::string &text)
static void updateEstateOwnerName (const std::string &name)

Protected Member Functions

virtual BOOL sendUpdate ()

Protected Attributes

LLTextBoxmEstateNameText
LLTextBoxmEstateOwnerText
LLTextBoxmLastModifiedText
LLUUID mCovenantID
LLViewerTextEditormEditor
EAssetStatus mAssetStatus


Detailed Description

Definition at line 364 of file llfloaterregioninfo.h.


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
ASSET_ERROR 
ASSET_UNLOADED 
ASSET_LOADING 
ASSET_LOADED 

Definition at line 405 of file llfloaterregioninfo.h.


Constructor & Destructor Documentation

LLPanelEstateCovenant::LLPanelEstateCovenant (  ) 

Definition at line 2602 of file llfloaterregioninfo.cpp.

LLPanelEstateCovenant::~LLPanelEstateCovenant (  )  [inline]

Definition at line 368 of file llfloaterregioninfo.h.


Member Function Documentation

BOOL LLPanelEstateCovenant::postBuild ( void   )  [virtual]

void LLPanelEstateCovenant::updateChild ( LLUICtrl child_ctrl  )  [virtual]

Reimplemented from LLPanelRegionInfo.

Definition at line 2677 of file llfloaterregioninfo.cpp.

bool LLPanelEstateCovenant::refreshFromRegion ( LLViewerRegion region  )  [virtual]

bool LLPanelEstateCovenant::estateUpdate ( LLMessageSystem msg  )  [virtual]

Reimplemented from LLPanelRegionInfo.

Definition at line 2654 of file llfloaterregioninfo.cpp.

References llendl, and llinfos.

BOOL LLPanelEstateCovenant::handleDragAndDrop ( S32  x,
S32  y,
MASK  mask,
BOOL  drop,
EDragAndDropType  cargo_type,
void *  cargo_data,
EAcceptance accept,
LLString tooltip_msg 
) [virtual]

Reimplemented from LLView.

Definition at line 2682 of file llfloaterregioninfo.cpp.

References ACCEPT_NO, ACCEPT_YES_COPY_SINGLE, LLViewerWindow::alertXml(), LLAgent::canManageEstate(), confirmChangeCovenantCallback(), DAD_NOTECARD, gAgent, gViewerWindow, and TRUE.

Here is the call graph for this function:

void LLPanelEstateCovenant::confirmChangeCovenantCallback ( S32  option,
void *  userdata 
) [static]

Definition at line 2716 of file llfloaterregioninfo.cpp.

References LLFloaterRegionInfo::getPanelCovenant().

Referenced by handleDragAndDrop().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateCovenant::resetCovenantID ( void *  userdata  )  [static]

Definition at line 2734 of file llfloaterregioninfo.cpp.

References LLViewerWindow::alertXml(), confirmResetCovenantCallback(), gViewerWindow, and NULL.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateCovenant::confirmResetCovenantCallback ( S32  option,
void *  userdata 
) [static]

Definition at line 2742 of file llfloaterregioninfo.cpp.

References LLFloaterRegionInfo::getPanelCovenant(), and NULL.

Referenced by resetCovenantID().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateCovenant::sendChangeCovenantID ( const LLUUID asset_id  ) 

void LLPanelEstateCovenant::loadInvItem ( LLInventoryItem itemp  ) 

void LLPanelEstateCovenant::onLoadComplete ( LLVFS vfs,
const LLUUID asset_uuid,
LLAssetType::EType  type,
void *  user_data,
S32  status,
LLExtStat  ext_status 
) [static]

void LLPanelEstateCovenant::updateCovenantText ( const std::string &  string,
const LLUUID asset_id 
) [static]

Definition at line 2897 of file llfloaterregioninfo.cpp.

References LLFloaterRegionInfo::getPanelCovenant(), mEditor, setCovenantID(), and LLTextEditor::setText().

Referenced by onCovenantLoadComplete(), and process_covenant_reply().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateCovenant::updateEstateName ( const std::string &  name  )  [static]

Definition at line 2908 of file llfloaterregioninfo.cpp.

References LLFloaterRegionInfo::getPanelCovenant(), mEstateNameText, and LLTextBox::setText().

Referenced by process_covenant_reply().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateCovenant::updateLastModified ( const std::string &  text  )  [static]

Definition at line 2918 of file llfloaterregioninfo.cpp.

References LLFloaterRegionInfo::getPanelCovenant(), mLastModifiedText, and LLTextBox::setText().

Referenced by process_covenant_reply().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateCovenant::updateEstateOwnerName ( const std::string &  name  )  [static]

Definition at line 2928 of file llfloaterregioninfo.cpp.

References LLFloaterRegionInfo::getPanelCovenant(), mEstateOwnerText, and LLTextBox::setText().

Referenced by callbackCacheEstateOwnerName().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLUUID& LLPanelEstateCovenant::getCovenantID (  )  const [inline]

Definition at line 397 of file llfloaterregioninfo.h.

References mCovenantID.

Referenced by sendChangeCovenantID().

Here is the caller graph for this function:

void LLPanelEstateCovenant::setCovenantID ( const LLUUID id  )  [inline]

Definition at line 398 of file llfloaterregioninfo.h.

References mCovenantID.

Referenced by onLoadComplete(), sendChangeCovenantID(), and updateCovenantText().

Here is the caller graph for this function:

const std::string & LLPanelEstateCovenant::getEstateName (  )  const

Definition at line 2886 of file llfloaterregioninfo.cpp.

References LLTextBox::getText(), and mEstateNameText.

Here is the call graph for this function:

void LLPanelEstateCovenant::setEstateName ( const std::string &  name  ) 

Definition at line 2891 of file llfloaterregioninfo.cpp.

References mEstateNameText, and LLTextBox::setText().

Here is the call graph for this function:

const std::string & LLPanelEstateCovenant::getOwnerName (  )  const

Definition at line 2937 of file llfloaterregioninfo.cpp.

References LLTextBox::getText(), and mEstateOwnerText.

Here is the call graph for this function:

void LLPanelEstateCovenant::setOwnerName ( const std::string &  name  ) 

Definition at line 2942 of file llfloaterregioninfo.cpp.

References mEstateOwnerText, and LLTextBox::setText().

Here is the call graph for this function:

void LLPanelEstateCovenant::setCovenantTextEditor ( const std::string &  text  ) 

Definition at line 2947 of file llfloaterregioninfo.cpp.

References mEditor, and LLTextEditor::setText().

Referenced by loadInvItem().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelEstateCovenant::sendUpdate (  )  [protected, virtual]

Reimplemented from LLPanelRegionInfo.

Definition at line 2881 of file llfloaterregioninfo.cpp.

References TRUE.


Member Data Documentation

Definition at line 415 of file llfloaterregioninfo.h.

Referenced by getEstateName(), postBuild(), setEstateName(), and updateEstateName().

Definition at line 417 of file llfloaterregioninfo.h.

Referenced by postBuild(), and updateLastModified().

Definition at line 419 of file llfloaterregioninfo.h.

Referenced by getCovenantID(), and setCovenantID().

Definition at line 421 of file llfloaterregioninfo.h.

Referenced by loadInvItem(), and onLoadComplete().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:56:16 2008 for SecondLife by  doxygen 1.5.5