Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Protected Attributes
nsXInstallerDlg Class Reference

nsXInstallerDlg More...

#include <nsXInstallerDlg.h>

Inheritance diagram for nsXInstallerDlg:
Inheritance graph
[legend]
Collaboration diagram for nsXInstallerDlg:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { SKIP_DIALOG = 0, SHOW_DIALOG = 1, FORWARD_MOVE = 555, BACKWARD_MOVE = -555 }
enum  { SKIP_DIALOG = 0, SHOW_DIALOG = 1 }

Public Member Functions

 nsXInstallerDlg ()
virtual ~nsXInstallerDlg ()
virtual int Parse (nsINIParser *aParser)=0
virtual int Show (int aDirection)=0
virtual int Hide (int aDirection)=0
int SetShowDlg (int aShowDlg)
int GetShowDlg ()
int SetTitle (char *aTitle)
char * GetTitle ()
void SetPageNum (int aPageNum)
int GetPageNum ()
 nsXInstallerDlg ()
virtual ~nsXInstallerDlg ()
virtual int Parse (nsINIParser *aParser)=0
virtual int Show ()=0
virtual int Hide ()=0
int SetShowDlg (int aShowDlg)
int GetShowDlg ()
int SetTitle (char *aTitle)
char * GetTitle ()
void SetPageNum (int aPageNum)
int GetPageNum ()

Protected Attributes

int mShowDlg
char * mTitle
char * mSubTitle
int mPageNum
int mWidgetsInit
GtkWidget * mTable

Detailed Description

nsXInstallerDlg

The interface for all installer dialogs. Helps maintain uniform navigation mechanism, startup init, and UI widgets.

Definition at line 55 of file nsXInstallerDlg.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
SKIP_DIALOG 
SHOW_DIALOG 
FORWARD_MOVE 
BACKWARD_MOVE 

Definition at line 85 of file nsXInstallerDlg.h.

    {
        SKIP_DIALOG     = 0,
        SHOW_DIALOG     = 1,

        FORWARD_MOVE    = 555,
        BACKWARD_MOVE   = -555
    };
anonymous enum
Enumerator:
SKIP_DIALOG 
SHOW_DIALOG 

Definition at line 85 of file nsXInstallerDlg.h.

    {
        SKIP_DIALOG     = 0,
        SHOW_DIALOG     = 1
    };

Constructor & Destructor Documentation

Definition at line 51 of file nsXInstallerDlg.cpp.

{
    if (mTitle)
        free (mTitle);
}
virtual nsXInstallerDlg::~nsXInstallerDlg ( ) [virtual]

Member Function Documentation

Definition at line 70 of file nsXInstallerDlg.cpp.

{
    return mShowDlg;
}

Definition at line 87 of file nsXInstallerDlg.cpp.

{
    if (mTitle)
        return mTitle;

    return NULL;
}
virtual int nsXInstallerDlg::Hide ( int  aDirection) [pure virtual]
virtual int nsXInstallerDlg::Hide ( ) [pure virtual]
virtual int nsXInstallerDlg::Parse ( nsINIParser aParser) [pure virtual]
virtual int nsXInstallerDlg::Parse ( nsINIParser aParser) [pure virtual]

Definition at line 58 of file nsXInstallerDlg.cpp.

{
    if ( aShowDlg != nsXInstallerDlg::SHOW_DIALOG &&
         aShowDlg != nsXInstallerDlg::SKIP_DIALOG )
        return E_PARAM;

    mShowDlg = aShowDlg;

    return OK;
}
int nsXInstallerDlg::SetTitle ( char *  aTitle)

Definition at line 76 of file nsXInstallerDlg.cpp.

{
    if (!aTitle)
        return E_PARAM;
    
    mTitle = aTitle;

    return OK;
}
int nsXInstallerDlg::SetTitle ( char *  aTitle)
virtual int nsXInstallerDlg::Show ( int  aDirection) [pure virtual]
virtual int nsXInstallerDlg::Show ( ) [pure virtual]

Member Data Documentation

Definition at line 98 of file nsXInstallerDlg.h.

Definition at line 95 of file nsXInstallerDlg.h.

char* nsXInstallerDlg::mSubTitle [protected]

Definition at line 97 of file nsXInstallerDlg.h.

GtkWidget * nsXInstallerDlg::mTable [protected]

Definition at line 100 of file nsXInstallerDlg.h.

char * nsXInstallerDlg::mTitle [protected]

Reimplemented in nsWelcomeDlg.

Definition at line 96 of file nsXInstallerDlg.h.

Definition at line 99 of file nsXInstallerDlg.h.


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