mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtinfo subtree clients
This commit is contained in:
parent
5cdb889f7b
commit
f17d779dab
4 changed files with 13 additions and 4 deletions
|
@ -5,6 +5,13 @@ XCOMM $TOG: Imakefile /main/5 1998/08/10 15:51:11 mgreess $
|
||||||
|
|
||||||
SUBDIRS = dtinfo_start
|
SUBDIRS = dtinfo_start
|
||||||
|
|
||||||
|
XCOMM redefine TopLevelProject to build DtInfo with standard CDE config dir
|
||||||
|
#undef TopLevelProject
|
||||||
|
#define TopLevelProject DtInfo
|
||||||
|
IMAKE_DEFINES = -DTopLevelProject=TopLevelProject \
|
||||||
|
-DProjectTmplFile='<DtInfo.tmpl>' \
|
||||||
|
-DProjectRulesFile='<DtInfo.rules>'
|
||||||
|
|
||||||
MakeSubdirs($(SUBDIRS))
|
MakeSubdirs($(SUBDIRS))
|
||||||
DependSubdirs($(SUBDIRS))
|
DependSubdirs($(SUBDIRS))
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,8 @@ XCOMM $XConsortium: Imakefile /main/5 1996/06/11 17:45:12 cde-hal $
|
||||||
* (c) Copyright 1996 Hitachi.
|
* (c) Copyright 1996 Hitachi.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
NormalCplusplusObjectRule()
|
||||||
|
|
||||||
INCLUDES = -I.
|
INCLUDES = -I.
|
||||||
|
|
||||||
#ifdef AIXArchitecture
|
#ifdef AIXArchitecture
|
||||||
|
|
|
@ -116,7 +116,7 @@ static void DieFromToolTalkError (
|
||||||
Tt_status status);
|
Tt_status status);
|
||||||
|
|
||||||
|
|
||||||
void
|
int
|
||||||
main (
|
main (
|
||||||
int argc,
|
int argc,
|
||||||
char ** argv)
|
char ** argv)
|
||||||
|
@ -135,7 +135,7 @@ main (
|
||||||
app_context = XtCreateApplicationContext ();
|
app_context = XtCreateApplicationContext ();
|
||||||
|
|
||||||
if (!(display = XtOpenDisplay (app_context, NULL, NULL, name,
|
if (!(display = XtOpenDisplay (app_context, NULL, NULL, name,
|
||||||
NULL, NULL, &argc, argv))) {
|
NULL, 0, &argc, argv))) {
|
||||||
DtMsgLogMessage (argv[0], DtMsgLogError,
|
DtMsgLogMessage (argv[0], DtMsgLogError,
|
||||||
(char *) GETMESSAGE (SET_NUM, 7, "XtOpenDisplay() failed. Perhaps the DISPLAY environment\nvariable is not set or is invalid."));
|
(char *) GETMESSAGE (SET_NUM, 7, "XtOpenDisplay() failed. Perhaps the DISPLAY environment\nvariable is not set or is invalid."));
|
||||||
exit (1);
|
exit (1);
|
||||||
|
@ -568,7 +568,7 @@ LogToolTalkError (
|
||||||
static void
|
static void
|
||||||
ExitCB (Widget dialog, XtPointer client_data, XtPointer call_data)
|
ExitCB (Widget dialog, XtPointer client_data, XtPointer call_data)
|
||||||
{
|
{
|
||||||
exit((int) client_data);
|
exit((size_t) client_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -65,7 +65,7 @@ $ Messages 11-16: These message are the result of the dtinfo_start
|
||||||
$ getting an error while trying to parse a ToolTalk message.
|
$ getting an error while trying to parse a ToolTalk message.
|
||||||
$
|
$
|
||||||
$ Do NOT localize the word NULL
|
$ Do NOT localize the word NULL
|
||||||
$
|
$
|
||||||
11 The message operation '%d' is not supported.
|
11 The message operation '%d' is not supported.
|
||||||
|
|
||||||
12 Message '%s' does not have the required\n\
|
12 Message '%s' does not have the required\n\
|
||||||
|
|
Loading…
Reference in a new issue