NetSurf
Public Member Functions | Private Attributes
LoginAlert Class Reference
Inheritance diagram for LoginAlert:
[legend]
Collaboration diagram for LoginAlert:
[legend]

Public Member Functions

 LoginAlert (nserror(*callback)(const char *username, const char *password, void *pw), void *callbaclpw, nsurl *url, const char *host, const char *realm, const char *text)
 
virtual ~LoginAlert ()
 
void MessageReceived (BMessage *message)
 

Private Attributes

nsurlfUrl
 URL being fetched. More...
 
BString fHost
 Host for user display. More...
 
BString fRealm
 Authentication realm. More...
 
nserror(* fCallback )(const char *username, const char *password, void *pw)
 
void * fCallbackPw
 
BTextControl * fUserControl
 
BTextControl * fPassControl
 

Detailed Description

Definition at line 45 of file login.cpp.

Constructor & Destructor Documentation

◆ LoginAlert()

LoginAlert::LoginAlert ( nserror(*)(const char *username, const char *password, void *pw)  callback,
void *  callbaclpw,
nsurl url,
const char *  host,
const char *  realm,
const char *  text 
)

Definition at line 81 of file login.cpp.

References fCallback, fCallbackPw, fHost, fPassControl, fRealm, fUrl, fUserControl, TC_H, and TC_MARGIN.

◆ ~LoginAlert()

LoginAlert::~LoginAlert ( )
virtual

Definition at line 134 of file login.cpp.

Member Function Documentation

◆ MessageReceived()

void LoginAlert::MessageReceived ( BMessage *  message)

Definition at line 139 of file login.cpp.

References fCallback, fCallbackPw, fHost, fPassControl, fRealm, fUrl, fUserControl, and nsbeos_pipe_message().

Here is the call graph for this function:

Field Documentation

◆ fCallback

nserror(* LoginAlert::fCallback) (const char *username, const char *password, void *pw)
private

Definition at line 62 of file login.cpp.

Referenced by LoginAlert(), and MessageReceived().

◆ fCallbackPw

void* LoginAlert::fCallbackPw
private

Definition at line 65 of file login.cpp.

Referenced by LoginAlert(), and MessageReceived().

◆ fHost

BString LoginAlert::fHost
private

Host for user display.

Definition at line 60 of file login.cpp.

Referenced by LoginAlert(), and MessageReceived().

◆ fPassControl

BTextControl* LoginAlert::fPassControl
private

Definition at line 68 of file login.cpp.

Referenced by LoginAlert(), and MessageReceived().

◆ fRealm

BString LoginAlert::fRealm
private

Authentication realm.

Definition at line 61 of file login.cpp.

Referenced by LoginAlert(), and MessageReceived().

◆ fUrl

nsurl* LoginAlert::fUrl
private

URL being fetched.

Definition at line 59 of file login.cpp.

Referenced by LoginAlert(), and MessageReceived().

◆ fUserControl

BTextControl* LoginAlert::fUserControl
private

Definition at line 67 of file login.cpp.

Referenced by LoginAlert(), and MessageReceived().


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