Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations | Functions | Variables
PtMozilla.h File Reference
#include <stdlib.h>
#include <string.h>
#include <photon/PtWebClient.h>
#include <photon/PpProto.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mozilla_progress_t
struct  mozilla_url_t
struct  mozilla_info_t
struct  mozilla_authenticate_t
struct  mozilla_dialog_t
struct  mozilla_net_state_t
struct  mozilla_new_window_t
struct  mozilla_prompt_t
struct  mozilla_new_area_t
struct  mozilla_visibility_t
struct  mozilla_context_t
struct  mozilla_data_request_cb_t
struct  PtMozUnknownResp_t
struct  mozilla_event_t
struct  mozilla_print_status_t
struct  PtMozillaAuthCtrl_t
struct  PtMozillaUnknownCtrl_t
struct  Pt_mozilla_client_widget
union  Pt_mozilla_union

Defines

#define Pt_ARG_MOZ_GET_URL   Pt_RESOURCE( 104, 0 )
#define Pt_ARG_MOZ_NAVIGATE_PAGE   Pt_RESOURCE( 104, 1 )
#define Pt_ARG_MOZ_RELOAD   Pt_RESOURCE( 104, 2 )
#define Pt_ARG_MOZ_STOP   Pt_RESOURCE( 104, 3 )
#define Pt_ARG_MOZ_PRINT   Pt_RESOURCE( 104, 4 )
#define Pt_ARG_MOZ_COMMAND   Pt_RESOURCE( 104, 5 )
#define Pt_ARG_MOZ_OPTION   Pt_RESOURCE( 104, 6 )
#define Pt_ARG_MOZ_ENCODING   Pt_RESOURCE( 104, 7 )
#define Pt_ARG_MOZ_WEB_DATA   Pt_RESOURCE( 104, 8 )
#define Pt_ARG_MOZ_WEB_DATA_URL   Pt_RESOURCE( 104, 9 )
#define Pt_ARG_MOZ_GET_CONTEXT   Pt_RESOURCE( 104, 10 )
#define Pt_ARG_MOZ_UNKNOWN_RESP   Pt_RESOURCE( 104, 11 )
#define Pt_ARG_MOZ_DOWNLOAD   Pt_RESOURCE( 104, 12 )
#define Pt_ARG_MOZ_GET_HISTORY   Pt_RESOURCE( 104, 13 )
#define Pt_ARG_MOZ_AUTH_CTRL   Pt_RESOURCE( 104, 14 )
#define Pt_ARG_MOZ_UNKNOWN_CTRL   Pt_RESOURCE( 104, 15 )
#define Pt_ARG_MOZ_SCROLL_TO   Pt_RESOURCE( 104, 16 )
#define Pt_CB_MOZ_PROGRESS   Pt_RESOURCE( 104, 20 )
#define Pt_CB_MOZ_START   Pt_RESOURCE( 104, 21 )
#define Pt_CB_MOZ_COMPLETE   Pt_RESOURCE( 104, 22 )
#define Pt_CB_MOZ_NET_STATE   Pt_RESOURCE( 104, 23 )
#define Pt_CB_MOZ_URL   Pt_RESOURCE( 104, 24 )
#define Pt_CB_MOZ_INFO   Pt_RESOURCE( 104, 25 )
#define Pt_CB_MOZ_OPEN   Pt_RESOURCE( 104, 26 )
#define Pt_CB_MOZ_NEW_WINDOW   Pt_RESOURCE( 104, 27 )
#define Pt_CB_MOZ_DIALOG   Pt_RESOURCE( 104, 28 )
#define Pt_CB_MOZ_AUTHENTICATE   Pt_RESOURCE( 104, 29 )
#define Pt_CB_MOZ_PROMPT   Pt_RESOURCE( 104, 30 )
#define Pt_CB_MOZ_NEW_AREA   Pt_RESOURCE( 104, 31 )
#define Pt_CB_MOZ_VISIBILITY   Pt_RESOURCE( 104, 32 )
#define Pt_CB_MOZ_DESTROY   Pt_RESOURCE( 104, 33 )
#define Pt_CB_MOZ_EVENT   Pt_RESOURCE( 104, 35 )
#define Pt_CB_MOZ_CONTEXT   Pt_RESOURCE( 104, 36 )
#define Pt_CB_MOZ_PRINT_STATUS   Pt_RESOURCE( 104, 37 )
#define Pt_CB_MOZ_WEB_DATA_REQ   Pt_RESOURCE( 104, 38 )
#define Pt_CB_MOZ_UNKNOWN   Pt_RESOURCE( 104, 39 )
#define Pt_CB_MOZ_ERROR   Pt_RESOURCE( 104, 40 )
#define Pt_CB_MOZ_DOWNLOAD   Pt_RESOURCE( 104, 41 )
#define MAX_URL_LENGTH   1024
#define Pt_MOZ_PROGRESS   1
#define Pt_MOZ_PROGRESS_ALL   2
#define Pt_MOZ_INFO_TITLE   1
#define Pt_MOZ_INFO_JSSTATUS   2
#define Pt_MOZ_INFO_LINK   3
#define Pt_MOZ_INFO_SSL   4
#define Pt_SSL_STATE_IS_INSECURE   0x1
#define Pt_SSL_STATE_IS_BROKEN   0x2
#define Pt_SSL_STATE_IS_SECURE   0x4
#define Pt_SSL_STATE_SECURE_HIGH   0x8
#define Pt_SSL_STATE_SECURE_MED   0x10
#define Pt_SSL_STATE_SECURE_LOW   0x20
#define Pt_MOZ_INFO_CONNECT   5
#define Pt_MOZ_DIALOG_ALERT   1
#define Pt_MOZ_DIALOG_ALERT_CHECK   2
#define Pt_MOZ_DIALOG_CONFIRM   3
#define Pt_MOZ_DIALOG_CONFIRM_CHECK   4
#define Pt_MOZ_NEW_AREA_SET_SIZE   0x1
#define Pt_MOZ_NEW_AREA_SET_POSITION   0x2
#define Pt_MOZ_NEW_AREA_SET_AREA   0x4
#define Pt_MOZ_CONTEXT_NONE   0x0
#define Pt_MOZ_CONTEXT_LINK   0x1
#define Pt_MOZ_CONTEXT_IMAGE   0x2
#define Pt_MOZ_CONTEXT_DOCUMENT   0x4
#define Pt_MOZ_CONTEXT_TEXT   0x8
#define Pt_MOZ_CONTEXT_INPUT   0x10
#define Pt_MOZ_PRINT_START   1
#define Pt_MOZ_PRINT_COMPLETE   2
#define Pt_MOZ_PRINT_PROGRESS   3
#define Pt_MOZ_PREF_BOOL   1
#define Pt_MOZ_PREF_CHAR   2
#define Pt_MOZ_PREF_INT   3
#define Pt_MOZ_PREF_COLOR   4

Typedefs

typedef struct mozilla_progress_t PtMozillaProgressCb_t
typedef struct mozilla_url_t PtMozillaUrlCb_t
typedef struct mozilla_info_t PtMozillaInfoCb_t
typedef struct
mozilla_authenticate_t 
PtMozillaAuthenticateCb_t
typedef struct mozilla_dialog_t PtMozillaDialogCb_t
typedef struct mozilla_net_state_t PtMozillaNetStateCb_t
typedef struct mozilla_new_window_t PtMozillaNewWindowCb_t
typedef struct mozilla_prompt_t PtMozillaPromptCb_t
typedef struct mozilla_new_area_t PtMozillaNewAreaCb_t
typedef struct mozilla_visibility_t PtMozillaVisibilityCb_t
typedef struct mozilla_context_t PtMozillaContextCb_t
typedef struct
mozilla_data_request_cb_t 
PtMozillaDataRequestCb_t
typedef struct mozilla_event_t PtMozillaEvent_t
typedef struct
mozilla_print_status_t 
PtMozillaPrintStatusCb_t
typedef struct
Pt_mozilla_client_widget 
PtMozillaWidget_t
typedef union Pt_mozilla_union PtMozillaUnion_t

Enumerations

enum  MozEmbedReloadFlags {
  MOZ_EMBED_FLAG_RELOADNORMAL = 0, MOZ_EMBED_FLAG_RELOADBYPASSCACHE = 1, MOZ_EMBED_FLAG_RELOADBYPASSPROXY = 2, MOZ_EMBED_FLAG_RELOADBYPASSPROXYANDCACHE = 3,
  MOZ_EMBED_FLAG_RELOADCHARSETCHANGE = 4
}
enum  PtMozillaWindowFlags {
  Pt_MOZ_FLAG_DEFAULTCHROME = 1U, Pt_MOZ_FLAG_WINDOWBORDERSON = 2U, Pt_MOZ_FLAG_WINDOWCLOSEON = 4U, Pt_MOZ_FLAG_WINDOWRESIZEON = 8U,
  Pt_MOZ_FLAG_MENUBARON = 16U, Pt_MOZ_FLAG_TOOLBARON = 32U, Pt_MOZ_FLAG_LOCATIONBARON = 64U, Pt_MOZ_FLAG_STATUSBARON = 128U,
  Pt_MOZ_FLAG_PERSONALTOOLBARON = 256U, Pt_MOZ_FLAG_SCROLLBARSON = 512U, Pt_MOZ_FLAG_TITLEBARON = 1024U, Pt_MOZ_FLAG_EXTRACHROMEON = 2048U,
  Pt_MOZ_FLAG_ALLCHROME = 4094U, Pt_MOZ_FLAG_WINDOWRAISED = 33554432U, Pt_MOZ_FLAG_WINDOWLOWERED = 67108864U, Pt_MOZ_FLAG_CENTERSCREEN = 134217728U,
  Pt_MOZ_FLAG_DEPENDENT = 268435456U, Pt_MOZ_FLAG_MODAL = 536870912U, Pt_MOZ_FLAG_OPENASDIALOG = 1073741824U, Pt_MOZ_FLAG_OPENASCHROME = 2147483648U
}
enum  {
  Pt_MOZ_COMMAND_CUT, Pt_MOZ_COMMAND_COPY, Pt_MOZ_COMMAND_PASTE, Pt_MOZ_COMMAND_SELECTALL,
  Pt_MOZ_COMMAND_CLEAR, Pt_MOZ_COMMAND_FIND, Pt_MOZ_COMMAND_SAVEAS
}

Functions

void MozSetPreference (PtWidget_t *widget, int type, char *pref, void *data)

Variables

PtWidgetClassRef_t * PtMozilla

Class Documentation

struct mozilla_progress_t

Definition at line 124 of file PtMozilla.h.

Collaboration diagram for mozilla_progress_t:
Class Members
int32_t cur
int32_t max
int type
struct mozilla_url_t

Definition at line 133 of file PtMozilla.h.

Class Members
char * url
struct mozilla_info_t

Definition at line 152 of file PtMozilla.h.

Collaboration diagram for mozilla_info_t:
Class Members
char * data
unsigned long status
int type
struct mozilla_authenticate_t

Definition at line 161 of file PtMozilla.h.

Class Members
char pass
char * realm
char * title
char user
struct mozilla_dialog_t

Definition at line 175 of file PtMozilla.h.

Collaboration diagram for mozilla_dialog_t:
Class Members
char * checkbox_message
PtWidget_t * parent
int ret_value
char * text
char * title
int type
struct mozilla_net_state_t

Definition at line 196 of file PtMozilla.h.

Collaboration diagram for mozilla_net_state_t:
Class Members
int flags
char * message
unsigned int status
const char * url
struct mozilla_new_window_t

Definition at line 228 of file PtMozilla.h.

Class Members
PtWidget_t * widget
unsigned int window_flags
PhDim_t window_size
struct mozilla_prompt_t

Definition at line 235 of file PtMozilla.h.

Class Members
char * dflt_resp
char response
char * text
char * title
struct mozilla_new_area_t

Definition at line 248 of file PtMozilla.h.

Class Members
PhArea_t area
unsigned int flags
struct mozilla_visibility_t

Definition at line 254 of file PtMozilla.h.

Collaboration diagram for mozilla_visibility_t:
Class Members
int show
struct mozilla_context_t

Definition at line 266 of file PtMozilla.h.

Class Members
unsigned flags
PRInt32 x
PRInt32 y
struct mozilla_data_request_cb_t

Definition at line 272 of file PtMozilla.h.

Collaboration diagram for mozilla_data_request_cb_t:
Class Members
int length
int type
char * url
struct PtMozUnknownResp_t

Definition at line 278 of file PtMozilla.h.

Class Members
char filename
short response
char url
struct mozilla_event_t

Definition at line 284 of file PtMozilla.h.

Collaboration diagram for mozilla_event_t:
Class Members
int flag
struct mozilla_print_status_t

Definition at line 293 of file PtMozilla.h.

Collaboration diagram for mozilla_print_status_t:
Class Members
unsigned int cur
unsigned int max
int status
struct PtMozillaAuthCtrl_t

Definition at line 319 of file PtMozilla.h.

Class Members
PtModalCtrl_t ctrl
char pass
short response
char user
struct PtMozillaUnknownCtrl_t

Definition at line 326 of file PtMozilla.h.

Class Members
PtModalCtrl_t ctrl
long download_ticket
char * filename
short response
short waiting
struct Pt_mozilla_client_widget

Definition at line 335 of file PtMozilla.h.

Collaboration diagram for Pt_mozilla_client_widget:
Class Members
short int actual_text_zoom
PtCallbackList_t * auth_cb
PtCallbackList_t * complete_cb
PtContainerWidget_t container
PtCallbackList_t * context_cb
PtCallbackList_t * destroy_cb
PtCallbackList_t * dialog_cb
char disable_exception_dlg
char disable_new_windows
EmbedPrivate * EmbedRef
PtCallbackList_t * event_cb
EmbedDownload ** fDownload
int fDownloadCount
PtCallbackList_t * info_cb
PtMozillaAuthCtrl_t * moz_auth_ctrl
PtMozillaUnknownCtrl_t * moz_unknown_ctrl
int navigate_flags
PtCallbackList_t * net_state_cb
PtCallbackList_t * new_window_cb
PtCallbackList_t * open_cb
PtCallbackList_t * print_status_cb
PtCallbackList_t * progress_cb
PtCallbackList_t * prompt_cb
PtCallbackList_t * resize_cb
char * rightClickUrl_image
char * rightClickUrl_link
char spare
PtCallbackList_t * start_cb
short int text_zoom
PtCallbackList_t * title_cb
char toActivate
char url
PtCallbackList_t * url_cb
PtCallbackList_t * visibility_cb
PtCallbackList_t * web_data_req_cb
PtCallbackList_t * web_download_cb
PtCallbackList_t * web_error_cb
PtCallbackList_t * web_unknown_cb
union Pt_mozilla_union

Definition at line 388 of file PtMozilla.h.

Collaboration diagram for Pt_mozilla_union:
Class Members
PtBasicWidget_t basic
PtContainerWidget_t cntnr
PtWidget_t core
PtMozillaWidget_t moz

Define Documentation

#define MAX_URL_LENGTH   1024

Definition at line 110 of file PtMozilla.h.

#define Pt_ARG_MOZ_AUTH_CTRL   Pt_RESOURCE( 104, 14 )

Definition at line 83 of file PtMozilla.h.

#define Pt_ARG_MOZ_COMMAND   Pt_RESOURCE( 104, 5 )

Definition at line 74 of file PtMozilla.h.

#define Pt_ARG_MOZ_DOWNLOAD   Pt_RESOURCE( 104, 12 )

Definition at line 81 of file PtMozilla.h.

#define Pt_ARG_MOZ_ENCODING   Pt_RESOURCE( 104, 7 )

Definition at line 76 of file PtMozilla.h.

#define Pt_ARG_MOZ_GET_CONTEXT   Pt_RESOURCE( 104, 10 )

Definition at line 79 of file PtMozilla.h.

#define Pt_ARG_MOZ_GET_HISTORY   Pt_RESOURCE( 104, 13 )

Definition at line 82 of file PtMozilla.h.

#define Pt_ARG_MOZ_GET_URL   Pt_RESOURCE( 104, 0 )

Definition at line 69 of file PtMozilla.h.

#define Pt_ARG_MOZ_NAVIGATE_PAGE   Pt_RESOURCE( 104, 1 )

Definition at line 70 of file PtMozilla.h.

#define Pt_ARG_MOZ_OPTION   Pt_RESOURCE( 104, 6 )

Definition at line 75 of file PtMozilla.h.

#define Pt_ARG_MOZ_PRINT   Pt_RESOURCE( 104, 4 )

Definition at line 73 of file PtMozilla.h.

#define Pt_ARG_MOZ_RELOAD   Pt_RESOURCE( 104, 2 )

Definition at line 71 of file PtMozilla.h.

#define Pt_ARG_MOZ_SCROLL_TO   Pt_RESOURCE( 104, 16 )

Definition at line 85 of file PtMozilla.h.

#define Pt_ARG_MOZ_STOP   Pt_RESOURCE( 104, 3 )

Definition at line 72 of file PtMozilla.h.

#define Pt_ARG_MOZ_UNKNOWN_CTRL   Pt_RESOURCE( 104, 15 )

Definition at line 84 of file PtMozilla.h.

#define Pt_ARG_MOZ_UNKNOWN_RESP   Pt_RESOURCE( 104, 11 )

Definition at line 80 of file PtMozilla.h.

#define Pt_ARG_MOZ_WEB_DATA   Pt_RESOURCE( 104, 8 )

Definition at line 77 of file PtMozilla.h.

#define Pt_ARG_MOZ_WEB_DATA_URL   Pt_RESOURCE( 104, 9 )

Definition at line 78 of file PtMozilla.h.

#define Pt_CB_MOZ_AUTHENTICATE   Pt_RESOURCE( 104, 29 )

Definition at line 96 of file PtMozilla.h.

#define Pt_CB_MOZ_COMPLETE   Pt_RESOURCE( 104, 22 )

Definition at line 89 of file PtMozilla.h.

#define Pt_CB_MOZ_CONTEXT   Pt_RESOURCE( 104, 36 )

Definition at line 102 of file PtMozilla.h.

#define Pt_CB_MOZ_DESTROY   Pt_RESOURCE( 104, 33 )

Definition at line 100 of file PtMozilla.h.

#define Pt_CB_MOZ_DIALOG   Pt_RESOURCE( 104, 28 )

Definition at line 95 of file PtMozilla.h.

#define Pt_CB_MOZ_DOWNLOAD   Pt_RESOURCE( 104, 41 )

Definition at line 107 of file PtMozilla.h.

#define Pt_CB_MOZ_ERROR   Pt_RESOURCE( 104, 40 )

Definition at line 106 of file PtMozilla.h.

#define Pt_CB_MOZ_EVENT   Pt_RESOURCE( 104, 35 )

Definition at line 101 of file PtMozilla.h.

#define Pt_CB_MOZ_INFO   Pt_RESOURCE( 104, 25 )

Definition at line 92 of file PtMozilla.h.

#define Pt_CB_MOZ_NET_STATE   Pt_RESOURCE( 104, 23 )

Definition at line 90 of file PtMozilla.h.

#define Pt_CB_MOZ_NEW_AREA   Pt_RESOURCE( 104, 31 )

Definition at line 98 of file PtMozilla.h.

#define Pt_CB_MOZ_NEW_WINDOW   Pt_RESOURCE( 104, 27 )

Definition at line 94 of file PtMozilla.h.

#define Pt_CB_MOZ_OPEN   Pt_RESOURCE( 104, 26 )

Definition at line 93 of file PtMozilla.h.

#define Pt_CB_MOZ_PRINT_STATUS   Pt_RESOURCE( 104, 37 )

Definition at line 103 of file PtMozilla.h.

#define Pt_CB_MOZ_PROGRESS   Pt_RESOURCE( 104, 20 )

Definition at line 87 of file PtMozilla.h.

#define Pt_CB_MOZ_PROMPT   Pt_RESOURCE( 104, 30 )

Definition at line 97 of file PtMozilla.h.

#define Pt_CB_MOZ_START   Pt_RESOURCE( 104, 21 )

Definition at line 88 of file PtMozilla.h.

#define Pt_CB_MOZ_UNKNOWN   Pt_RESOURCE( 104, 39 )

Definition at line 105 of file PtMozilla.h.

#define Pt_CB_MOZ_URL   Pt_RESOURCE( 104, 24 )

Definition at line 91 of file PtMozilla.h.

#define Pt_CB_MOZ_VISIBILITY   Pt_RESOURCE( 104, 32 )

Definition at line 99 of file PtMozilla.h.

#define Pt_CB_MOZ_WEB_DATA_REQ   Pt_RESOURCE( 104, 38 )

Definition at line 104 of file PtMozilla.h.

Definition at line 263 of file PtMozilla.h.

Definition at line 262 of file PtMozilla.h.

Definition at line 265 of file PtMozilla.h.

Definition at line 261 of file PtMozilla.h.

Definition at line 260 of file PtMozilla.h.

Definition at line 264 of file PtMozilla.h.

Definition at line 171 of file PtMozilla.h.

Definition at line 172 of file PtMozilla.h.

Definition at line 173 of file PtMozilla.h.

Definition at line 174 of file PtMozilla.h.

Definition at line 150 of file PtMozilla.h.

Definition at line 140 of file PtMozilla.h.

Definition at line 141 of file PtMozilla.h.

Definition at line 142 of file PtMozilla.h.

Definition at line 139 of file PtMozilla.h.

Definition at line 246 of file PtMozilla.h.

Definition at line 245 of file PtMozilla.h.

Definition at line 244 of file PtMozilla.h.

Definition at line 301 of file PtMozilla.h.

Definition at line 302 of file PtMozilla.h.

Definition at line 304 of file PtMozilla.h.

Definition at line 303 of file PtMozilla.h.

Definition at line 291 of file PtMozilla.h.

Definition at line 292 of file PtMozilla.h.

Definition at line 290 of file PtMozilla.h.

Definition at line 122 of file PtMozilla.h.

Definition at line 123 of file PtMozilla.h.

Definition at line 145 of file PtMozilla.h.

Definition at line 144 of file PtMozilla.h.

Definition at line 146 of file PtMozilla.h.

Definition at line 147 of file PtMozilla.h.

Definition at line 149 of file PtMozilla.h.

Definition at line 148 of file PtMozilla.h.


Typedef Documentation


Enumeration Type Documentation

anonymous enum
Enumerator:
Pt_MOZ_COMMAND_CUT 
Pt_MOZ_COMMAND_COPY 
Pt_MOZ_COMMAND_PASTE 
Pt_MOZ_COMMAND_SELECTALL 
Pt_MOZ_COMMAND_CLEAR 
Pt_MOZ_COMMAND_FIND 
Pt_MOZ_COMMAND_SAVEAS 

Definition at line 308 of file PtMozilla.h.

Enumerator:
MOZ_EMBED_FLAG_RELOADNORMAL 
MOZ_EMBED_FLAG_RELOADBYPASSCACHE 
MOZ_EMBED_FLAG_RELOADBYPASSPROXY 
MOZ_EMBED_FLAG_RELOADBYPASSPROXYANDCACHE 
MOZ_EMBED_FLAG_RELOADCHARSETCHANGE 

Definition at line 112 of file PtMozilla.h.

Enumerator:
Pt_MOZ_FLAG_DEFAULTCHROME 
Pt_MOZ_FLAG_WINDOWBORDERSON 
Pt_MOZ_FLAG_WINDOWCLOSEON 
Pt_MOZ_FLAG_WINDOWRESIZEON 
Pt_MOZ_FLAG_MENUBARON 
Pt_MOZ_FLAG_TOOLBARON 
Pt_MOZ_FLAG_LOCATIONBARON 
Pt_MOZ_FLAG_STATUSBARON 
Pt_MOZ_FLAG_PERSONALTOOLBARON 
Pt_MOZ_FLAG_SCROLLBARSON 
Pt_MOZ_FLAG_TITLEBARON 
Pt_MOZ_FLAG_EXTRACHROMEON 
Pt_MOZ_FLAG_ALLCHROME 
Pt_MOZ_FLAG_WINDOWRAISED 
Pt_MOZ_FLAG_WINDOWLOWERED 
Pt_MOZ_FLAG_CENTERSCREEN 
Pt_MOZ_FLAG_DEPENDENT 
Pt_MOZ_FLAG_MODAL 
Pt_MOZ_FLAG_OPENASDIALOG 
Pt_MOZ_FLAG_OPENASCHROME 

Definition at line 205 of file PtMozilla.h.


Function Documentation

void MozSetPreference ( PtWidget_t *  widget,
int  type,
char *  pref,
void data 
)

Definition at line 165 of file PtMozilla.cpp.

{
  PtMozillaWidget_t *moz = (PtMozillaWidget_t *) widget;
  nsIPref *prefs = moz->EmbedRef->GetPrefs();

  switch (type)
  {
    case Pt_MOZ_PREF_CHAR:
      prefs->SetCharPref(pref, (char *)data);
      break;
    case Pt_MOZ_PREF_BOOL:
      prefs->SetBoolPref(pref, (int)data);
      break;
    case Pt_MOZ_PREF_INT:
      prefs->SetIntPref(pref, (int)data);
      break;
    case Pt_MOZ_PREF_COLOR:
// not supported yet
//      prefs->SetColorPrefDWord(pref, (uint32) data);
      break;
  }
}

Here is the call graph for this function:


Variable Documentation

PtWidgetClassRef_t* PtMozilla

Definition at line 158 of file PtMozilla.cpp.