LLConfirmationManager Class Reference

#include <llconfirmationmanager.h>

List of all members.

Public Types

 TYPE_NONE
 TYPE_CLICK
 TYPE_PASSWORD
enum  Type { TYPE_NONE, TYPE_CLICK, TYPE_PASSWORD }

Static Public Member Functions

static void confirm (Type type, const std::string &purchase, ListenerBase *listener)
static void confirm (const std::string &type, const std::string &purchase, ListenerBase *listener)
template<class T>
static void confirm (Type type, const std::string &action, T &obj, void(T::*func)(const std::string &))
template<class T>
static void confirm (const std::string &type, const std::string &action, T &obj, void(T::*func)(const std::string &))

Classes

class  Listener
class  ListenerBase


Detailed Description

Definition at line 35 of file llconfirmationmanager.h.


Member Enumeration Documentation

enum LLConfirmationManager::Type

Enumerator:
TYPE_NONE 
TYPE_CLICK 
TYPE_PASSWORD 

Definition at line 45 of file llconfirmationmanager.h.


Member Function Documentation

template<class T>
static void LLConfirmationManager::confirm ( const std::string &  type,
const std::string &  action,
T &  obj,
void(T::*)(const std::string &)  func 
) [inline, static]

Definition at line 82 of file llconfirmationmanager.h.

References confirm().

template<class T>
static void LLConfirmationManager::confirm ( Type  type,
const std::string &  action,
T &  obj,
void(T::*)(const std::string &)  func 
) [inline, static]

Definition at line 74 of file llconfirmationmanager.h.

References confirm().

void LLConfirmationManager::confirm ( const std::string &  type,
const std::string &  purchase,
ListenerBase listener 
) [static]

Definition at line 105 of file llconfirmationmanager.cpp.

References confirm(), TYPE_CLICK, TYPE_NONE, and TYPE_PASSWORD.

void LLConfirmationManager::confirm ( Type  type,
const std::string &  purchase,
ListenerBase listener 
) [static]

Definition at line 76 of file llconfirmationmanager.cpp.

References LLViewerWindow::alertXml(), LLViewerWindow::alertXmlEditText(), LLConfirmationManager::ListenerBase::confirmed(), gViewerWindow, NULL, onConfirmAlert(), onConfirmAlertPassword(), TRUE, TYPE_CLICK, TYPE_NONE, and TYPE_PASSWORD.

Referenced by LLCurrencyUIManager::buy(), confirm(), and LLFloaterBuyLandUI::startBuyPreConfirm().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:13 2010 for Second Life Viewer by  doxygen 1.4.7