Back to index

lightning-sunbird  0.9+nobinonly
Defines
XIDefines.h File Reference
#include "XIErrors.h"
#include <gtk/gtk.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MAX_COMPONENTS   64
#define MAX_SETUP_TYPES   4
#define MAX_URLS   32
#define MAX_URL_LEN   1024
#define MAX_DEPENDEE_KEY_LEN   16
#define MAX_LEGACY_CHECKS   32
#define XI_WIN_HEIGHT   320
#define XI_WIN_WIDTH   550
#define README_FONT   "-misc-fixed-medium-r-normal--8-100-75-75-c-50-iso8859-1"
#define LICENSE_FONT   "-misc-fixed-medium-r-normal--8-100-75-75-c-50-iso8859-1"
#define GENERAL   "General"
#define DEFAULT_LOCATION   "Default Location"
#define DEFAULT_SETUP_TYPE   "Default Setup Type"
#define CLEAN_UPGRADE   "Cleanup On Upgrade"
#define OBJECT_IGNOREd   "ObjectToIgnore%d"
#define DLG_WELCOME   "Dialog Welcome"
#define SHOW_DLG   "Show Dialog"
#define TITLE   "Title"
#define README   "Readme File"
#define DLG_LICENSE   "Dialog License"
#define LICENSE   "License File"
#define DLG_SETUP_TYPE   "Dialog Setup Type"
#define MSG0   "Message0"
#define MSG1   "Message1"
#define MSG2   "Message2"
#define SETUP_TYPEd   "Setup Type%d"
#define DESC_SHORT   "Description Short"
#define DESC_LONG   "Description Long"
#define LEGACY_CHECKd   "LegacyCheck%d"
#define FILENAME   "Filename"
#define MSG   "Message"
#define DLG_COMPONENTS   "Dialog Select Components"
#define COMPONENT   "Component"
#define COMPONENTd   "Component%d"
#define Cd   "C%d"
#define ARCHIVE   "Archive"
#define URLd   "URL%d"
#define INSTALL_SIZE   "Install Size"
#define ARCHIVE_SIZE   "Archive Size"
#define DEPENDENCYd   "Dependency%d"
#define DEPENDEEd   "Dependee%d"
#define ATTRIBUTES   "Attributes"
#define SELECTED_ATTR   "SELECTED"
#define INVISIBLE_ATTR   "INVISIBLE"
#define LAUNCHAPP_ATTR   "LAUNCHAPP"
#define DOWNLOAD_ONLY_ATTR   "DOWNLOAD_ONLY"
#define RUNAPPd   "RunApp%d"
#define POSTINSTALLRUNd   "PostInstallRun%d"
#define TARGET   "Target"
#define ARGS   "Arguments"
#define DLG_START_INSTALL   "Dialog Start Install"
#define XPINSTALL_ENGINE   "XPInstall Engine"
#define TMP_EXTRACT_SUBDIR   "bin"
#define XPI_DIR   "./xpi"
#define XPISTUB   "libxpistub.so"
#define FN_INIT   "XPI_Init"
#define FN_INSTALL   "XPI_Install"
#define FN_EXIT   "XPI_Exit"
#define XI_IF_DELETE(_object)
#define XI_IF_FREE(_ptr)
#define XI_GTK_IF_FREE(_gtkWidgetPtr)
#define XI_ERR_BAIL(_function)
#define XI_VERIFY(_ptr)
#define XI_ASSERT(_expr, _msg)
#define XI_GTK_UPDATE_UI()
#define TRUE   1
#define FALSE   0
#define NULL   0

Define Documentation

#define ARCHIVE   "Archive"

Definition at line 101 of file XIDefines.h.

#define ARCHIVE_SIZE   "Archive Size"

Definition at line 104 of file XIDefines.h.

#define ARGS   "Arguments"

Definition at line 116 of file XIDefines.h.

#define ATTRIBUTES   "Attributes"

Definition at line 107 of file XIDefines.h.

#define Cd   "C%d"

Definition at line 100 of file XIDefines.h.

#define CLEAN_UPGRADE   "Cleanup On Upgrade"

Definition at line 74 of file XIDefines.h.

#define COMPONENT   "Component"

Definition at line 98 of file XIDefines.h.

#define COMPONENTd   "Component%d"

Definition at line 99 of file XIDefines.h.

#define DEFAULT_LOCATION   "Default Location"

Definition at line 71 of file XIDefines.h.

#define DEFAULT_SETUP_TYPE   "Default Setup Type"

Definition at line 72 of file XIDefines.h.

#define DEPENDEEd   "Dependee%d"

Definition at line 106 of file XIDefines.h.

#define DEPENDENCYd   "Dependency%d"

Definition at line 105 of file XIDefines.h.

#define DESC_LONG   "Description Long"

Definition at line 91 of file XIDefines.h.

#define DESC_SHORT   "Description Short"

Definition at line 90 of file XIDefines.h.

#define DLG_COMPONENTS   "Dialog Select Components"

Definition at line 97 of file XIDefines.h.

#define DLG_LICENSE   "Dialog License"

Definition at line 82 of file XIDefines.h.

#define DLG_SETUP_TYPE   "Dialog Setup Type"

Definition at line 85 of file XIDefines.h.

#define DLG_START_INSTALL   "Dialog Start Install"

Definition at line 118 of file XIDefines.h.

#define DLG_WELCOME   "Dialog Welcome"

Definition at line 77 of file XIDefines.h.

#define DOWNLOAD_ONLY_ATTR   "DOWNLOAD_ONLY"

Definition at line 111 of file XIDefines.h.

#define FALSE   0

Definition at line 192 of file XIDefines.h.

#define FILENAME   "Filename"

Definition at line 94 of file XIDefines.h.

#define FN_EXIT   "XPI_Exit"

Definition at line 131 of file XIDefines.h.

#define FN_INIT   "XPI_Init"

Definition at line 129 of file XIDefines.h.

#define FN_INSTALL   "XPI_Install"

Definition at line 130 of file XIDefines.h.

#define GENERAL   "General"

Definition at line 70 of file XIDefines.h.

#define INSTALL_SIZE   "Install Size"

Definition at line 103 of file XIDefines.h.

#define INVISIBLE_ATTR   "INVISIBLE"

Definition at line 109 of file XIDefines.h.

#define LAUNCHAPP_ATTR   "LAUNCHAPP"

Definition at line 110 of file XIDefines.h.

#define LEGACY_CHECKd   "LegacyCheck%d"

Definition at line 93 of file XIDefines.h.

#define LICENSE   "License File"

Definition at line 83 of file XIDefines.h.

#define LICENSE_FONT   "-misc-fixed-medium-r-normal--8-100-75-75-c-50-iso8859-1"

Definition at line 64 of file XIDefines.h.

Definition at line 50 of file XIDefines.h.

Definition at line 54 of file XIDefines.h.

Definition at line 55 of file XIDefines.h.

Definition at line 51 of file XIDefines.h.

#define MAX_URL_LEN   1024

Definition at line 53 of file XIDefines.h.

#define MAX_URLS   32

Definition at line 52 of file XIDefines.h.

#define MSG   "Message"

Definition at line 95 of file XIDefines.h.

#define MSG0   "Message0"

Definition at line 86 of file XIDefines.h.

#define MSG1   "Message1"

Definition at line 87 of file XIDefines.h.

#define MSG2   "Message2"

Definition at line 88 of file XIDefines.h.

#define NULL   0

Definition at line 196 of file XIDefines.h.

#define OBJECT_IGNOREd   "ObjectToIgnore%d"

Definition at line 75 of file XIDefines.h.

#define POSTINSTALLRUNd   "PostInstallRun%d"

Definition at line 114 of file XIDefines.h.

#define README   "Readme File"

Definition at line 80 of file XIDefines.h.

#define README_FONT   "-misc-fixed-medium-r-normal--8-100-75-75-c-50-iso8859-1"

Definition at line 63 of file XIDefines.h.

#define RUNAPPd   "RunApp%d"

Definition at line 113 of file XIDefines.h.

#define SELECTED_ATTR   "SELECTED"

Definition at line 108 of file XIDefines.h.

#define SETUP_TYPEd   "Setup Type%d"

Definition at line 89 of file XIDefines.h.

#define SHOW_DLG   "Show Dialog"

Definition at line 78 of file XIDefines.h.

#define TARGET   "Target"

Definition at line 115 of file XIDefines.h.

#define TITLE   "Title"

Definition at line 79 of file XIDefines.h.

Definition at line 125 of file XIDefines.h.

#define TRUE   1

Definition at line 188 of file XIDefines.h.

#define URLd   "URL%d"

Definition at line 102 of file XIDefines.h.

#define XI_ASSERT (   _expr,
  _msg 
)

Definition at line 177 of file XIDefines.h.

#define XI_ERR_BAIL (   _function)
Value:
do {                                                    \
    err = _function;                                    \
    if (err != OK)                                      \
    {                                                   \
        ErrorHandler(err);                              \
        goto BAIL;                                      \
    }                                                   \
} while (0);

Definition at line 154 of file XIDefines.h.

#define XI_GTK_IF_FREE (   _gtkWidgetPtr)
Value:
do {                                                    \
    if (_gtkWidgetPtr && GTK_IS_WIDGET(_gtkWidgetPtr))  \
        gtk_widget_destroy(_gtkWidgetPtr);              \
    _gtkWidgetPtr = NULL;                               \
} while(0);

Definition at line 147 of file XIDefines.h.

Value:
do {                                                    \
    while (gtk_events_pending())                        \
        gtk_main_iteration();                           \
} while (0);

Definition at line 180 of file XIDefines.h.

#define XI_IF_DELETE (   _object)
Value:
do {                                                    \
    if (_object)                                        \
        delete _object;                                 \
    _object = NULL;                                     \
} while(0);

Definition at line 133 of file XIDefines.h.

#define XI_IF_FREE (   _ptr)
Value:
do {                                                    \
    if (_ptr)                                           \
        free(_ptr);                                     \
    _ptr = NULL;                                        \
} while(0);

Definition at line 140 of file XIDefines.h.

#define XI_VERIFY (   _ptr)
Value:
do {                                                    \
    if (!_ptr)                                          \
        return ErrorHandler(E_INVALID_PTR);             \
} while (0);

Definition at line 164 of file XIDefines.h.

#define XI_WIN_HEIGHT   320

Definition at line 61 of file XIDefines.h.

#define XI_WIN_WIDTH   550

Definition at line 62 of file XIDefines.h.

#define XPI_DIR   "./xpi"

Definition at line 126 of file XIDefines.h.

#define XPINSTALL_ENGINE   "XPInstall Engine"

Definition at line 119 of file XIDefines.h.

#define XPISTUB   "libxpistub.so"

Definition at line 128 of file XIDefines.h.