Previous Contents Index Next |
Setup Util Programmer's Guide |
Chapter 21 Uxres.h Library Reference
This chapter describes uxres.h, the library containing UNIX-specific Setup Util string definitions as well as methods for setting and retrieving them. It contains the following sections:
Methods
Uxres.h contains the following methods.
This method sets a string value for a given resource ID. See Definitions" below for a list of default resource IDs.
void setResource(const char *id, const char *text);
This method returns the string value for a given resource ID. See Definitions" below for a list of default resource IDs.
NSString getResource(const char *id);
Uxres.h contains the following definitions. The values for the definitions are in uxres_data.cc, which is in the setuputil/installer/unix directory.
Initialized in Information Files
The following resource IDs are initialized in your master and package information files. If you need to change their values during installation, you can do so using setResource.
RES_GLOBAL_VENDOR SETUP_INF_VENDOR
RES_GLOBAL_PRODUCT SETUP_INF_NAME
Table 21-1 lists resource IDs that you can use when creating UNIX dialogs.
Table 21-1 Resource IDs and default values for use when creating UNIX dialogs.
Previous Contents Index Next
Copyright (C) 2005 Red Hat, Inc. All rights reserved.
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/
Last Updated September 21, 2001