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 XI_WIN_HEIGHT   320
#define XI_WIN_WIDTH   550
#define GENERAL   "General"
#define DEFAULT_LOCATION   "Default Location"
#define PROGRAM_NAME   "Program Name"
#define DLG_WELCOME   "Dialog Welcome"
#define SHOW_DLG   "Show Dialog"
#define WATERMARK   "Watermark"
#define TITLE   "Title"
#define SUBTITLE   "Sub Title"
#define MSGWELCOME   "MessageWelcome"
#define PRODUCT_NAME   "Product Name"
#define README   "Readme File"
#define HEADER_IMAGE   "Header Image"
#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_TYPE   "Setup Type"
#define SETUP_TYPEd   "Setup Type%d"
#define DESC_SHORT   "Description Short"
#define DESC_LONG   "Description Long"
#define MSGEXISTING   "MessageExistingInstall"
#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   "Install Size Archive"
#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 MAIN_COMPONENT_ATTR   "MAIN_COMPONENT"
#define RUNAPPd   "RunApp%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 99 of file XIDefines.h.

#define ARCHIVE_SIZE   "Install Size Archive"

Definition at line 102 of file XIDefines.h.

#define ARGS   "Arguments"

Definition at line 114 of file XIDefines.h.

#define ATTRIBUTES   "Attributes"

Definition at line 105 of file XIDefines.h.

#define Cd   "C%d"

Definition at line 98 of file XIDefines.h.

#define COMPONENT   "Component"

Definition at line 96 of file XIDefines.h.

#define COMPONENTd   "Component%d"

Definition at line 97 of file XIDefines.h.

#define DEFAULT_LOCATION   "Default Location"

Definition at line 68 of file XIDefines.h.

#define DEPENDEEd   "Dependee%d"

Definition at line 104 of file XIDefines.h.

#define DEPENDENCYd   "Dependency%d"

Definition at line 103 of file XIDefines.h.

#define DESC_LONG   "Description Long"

Definition at line 92 of file XIDefines.h.

#define DESC_SHORT   "Description Short"

Definition at line 91 of file XIDefines.h.

#define DLG_COMPONENTS   "Dialog Select Components"

Definition at line 95 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 116 of file XIDefines.h.

#define DLG_WELCOME   "Dialog Welcome"

Definition at line 71 of file XIDefines.h.

#define DOWNLOAD_ONLY_ATTR   "DOWNLOAD_ONLY"

Definition at line 109 of file XIDefines.h.

#define FALSE   0

Definition at line 190 of file XIDefines.h.

#define FN_EXIT   "XPI_Exit"

Definition at line 129 of file XIDefines.h.

#define FN_INIT   "XPI_Init"

Definition at line 127 of file XIDefines.h.

#define FN_INSTALL   "XPI_Install"

Definition at line 128 of file XIDefines.h.

#define GENERAL   "General"

Definition at line 67 of file XIDefines.h.

#define HEADER_IMAGE   "Header Image"

Definition at line 80 of file XIDefines.h.

#define INSTALL_SIZE   "Install Size"

Definition at line 101 of file XIDefines.h.

#define INVISIBLE_ATTR   "INVISIBLE"

Definition at line 107 of file XIDefines.h.

#define LAUNCHAPP_ATTR   "LAUNCHAPP"

Definition at line 108 of file XIDefines.h.

#define LICENSE   "License File"

Definition at line 83 of file XIDefines.h.

#define MAIN_COMPONENT_ATTR   "MAIN_COMPONENT"

Definition at line 110 of file XIDefines.h.

Definition at line 50 of file XIDefines.h.

Definition at line 54 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 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 MSGEXISTING   "MessageExistingInstall"

Definition at line 93 of file XIDefines.h.

#define MSGWELCOME   "MessageWelcome"

Definition at line 77 of file XIDefines.h.

#define NULL   0

Definition at line 194 of file XIDefines.h.

#define PRODUCT_NAME   "Product Name"

Definition at line 78 of file XIDefines.h.

#define PROGRAM_NAME   "Program Name"

Definition at line 69 of file XIDefines.h.

#define README   "Readme File"

Definition at line 79 of file XIDefines.h.

#define RUNAPPd   "RunApp%d"

Definition at line 112 of file XIDefines.h.

#define SELECTED_ATTR   "SELECTED"

Definition at line 106 of file XIDefines.h.

#define SETUP_TYPE   "Setup Type"

Definition at line 89 of file XIDefines.h.

#define SETUP_TYPEd   "Setup Type%d"

Definition at line 90 of file XIDefines.h.

#define SHOW_DLG   "Show Dialog"

Definition at line 72 of file XIDefines.h.

#define SUBTITLE   "Sub Title"

Definition at line 75 of file XIDefines.h.

#define TARGET   "Target"

Definition at line 113 of file XIDefines.h.

#define TITLE   "Title"

Definition at line 74 of file XIDefines.h.

Definition at line 123 of file XIDefines.h.

#define TRUE   1

Definition at line 186 of file XIDefines.h.

#define URLd   "URL%d"

Definition at line 100 of file XIDefines.h.

#define WATERMARK   "Watermark"

Definition at line 73 of file XIDefines.h.

#define XI_ASSERT (   _expr,
  _msg 
)

Definition at line 175 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 152 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 145 of file XIDefines.h.

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

Definition at line 178 of file XIDefines.h.

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

Definition at line 131 of file XIDefines.h.

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

Definition at line 138 of file XIDefines.h.

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

Definition at line 162 of file XIDefines.h.

#define XI_WIN_HEIGHT   320

Definition at line 60 of file XIDefines.h.

#define XI_WIN_WIDTH   550

Definition at line 61 of file XIDefines.h.

#define XPI_DIR   "./xpi"

Definition at line 124 of file XIDefines.h.

#define XPINSTALL_ENGINE   "XPInstall Engine"

Definition at line 117 of file XIDefines.h.

#define XPISTUB   "libxpistub.so"

Definition at line 126 of file XIDefines.h.