Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
30
cde/programs/tttypes/Imakefile
Normal file
30
cde/programs/tttypes/Imakefile
Normal file
@@ -0,0 +1,30 @@
|
||||
XCOMM $XConsortium: Imakefile /main/16 1996/10/02 14:40:26 barstow $
|
||||
.SUFFIXES: .ptype .done
|
||||
|
||||
LOCK_FILE = .tt_lock
|
||||
|
||||
LOCALDEPFILES = \
|
||||
dtfile.done \
|
||||
dticon.done \
|
||||
dtpad.done \
|
||||
dtcm.done \
|
||||
dtmail.done \
|
||||
dtdbcache.done \
|
||||
dtterm.done \
|
||||
dtinfo.done \
|
||||
dtinfo.done
|
||||
|
||||
all:: types.xdr
|
||||
|
||||
types.xdr: $(LOCALDEPFILES)
|
||||
|
||||
TT_TYPE_COMP = $(CLIENTENVSETUP) $(TTSRC)/bin/tt_type_comp/tt_type_comp
|
||||
|
||||
.ptype.done:
|
||||
$(RM) $@
|
||||
TTPATH=. $(TT_TYPE_COMP) -sd user -m $< && touch $@ ; $(RM) .tt_lock
|
||||
|
||||
clean::
|
||||
$(RM) *.done types.xdr $(LOCK_FILE)
|
||||
|
||||
depend::
|
||||
54
cde/programs/tttypes/dtcm.ptype
Normal file
54
cde/programs/tttypes/dtcm.ptype
Normal file
@@ -0,0 +1,54 @@
|
||||
/* $XConsortium: dtcm.ptype /main/2 1996/11/19 15:50:04 drk $ */
|
||||
ptype Dt_AppointmentEditor {
|
||||
start "dtcm_editor";
|
||||
handle:
|
||||
session Display( in DT_APPOINTMENT contents ) => start opnum = 1;
|
||||
session Display( in DT_APPOINTMENT contents,
|
||||
in messageID counterfoil ) => start opnum = 2;
|
||||
session Display( in DT_APPOINTMENT contents,
|
||||
in title docName ) => start opnum = 3;
|
||||
session Display( in DT_APPOINTMENT contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 4;
|
||||
session Edit( inout DT_APPOINTMENT contents ) => start opnum = 101;
|
||||
session Edit( inout DT_APPOINTMENT contents,
|
||||
in messageID counterfoil ) => start opnum = 102;
|
||||
session Edit( inout DT_APPOINTMENT contents,
|
||||
in title docName ) => start opnum = 103;
|
||||
session Edit( inout DT_APPOINTMENT contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 104;
|
||||
session Edit( out DT_APPOINTMENT contents ) => start opnum = 201;
|
||||
session Edit( out DT_APPOINTMENT contents,
|
||||
in messageID counterfoil ) => start opnum = 202;
|
||||
session Edit( out DT_APPOINTMENT contents,
|
||||
in title docName ) => start opnum = 203;
|
||||
session Edit( out DT_APPOINTMENT contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 204;
|
||||
|
||||
session Display( in Sun_CM_Appointment contents ) => start opnum = 1001;
|
||||
session Display( in Sun_CM_Appointment contents,
|
||||
in messageID counterfoil ) => start opnum = 1002;
|
||||
session Display( in Sun_CM_Appointment contents,
|
||||
in title docName ) => start opnum = 1003;
|
||||
session Display( in Sun_CM_Appointment contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 1004;
|
||||
session Edit( inout Sun_CM_Appointment contents ) => start opnum = 1101;
|
||||
session Edit( inout Sun_CM_Appointment contents,
|
||||
in messageID counterfoil ) => start opnum = 1102;
|
||||
session Edit( inout Sun_CM_Appointment contents,
|
||||
in title docName ) => start opnum = 1103;
|
||||
session Edit( inout Sun_CM_Appointment contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 1104;
|
||||
session Edit( out Sun_CM_Appointment contents ) => start opnum = 1201;
|
||||
session Edit( out Sun_CM_Appointment contents,
|
||||
in messageID counterfoil ) => start opnum = 1202;
|
||||
session Edit( out Sun_CM_Appointment contents,
|
||||
in title docName ) => start opnum = 1203;
|
||||
session Edit( out Sun_CM_Appointment contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 1204;
|
||||
}
|
||||
14
cde/programs/tttypes/dtdbcache.ptype
Normal file
14
cde/programs/tttypes/dtdbcache.ptype
Normal file
@@ -0,0 +1,14 @@
|
||||
/* $XConsortium: dtdbcache.ptype /main/5 1996/11/19 15:50:45 drk $ */
|
||||
ptype SDTDTSCACHE {
|
||||
start "dtdbcache";
|
||||
handle:
|
||||
|
||||
session DtDtsCache() => start opnum = 1;
|
||||
}
|
||||
|
||||
ptype DTDTSCACHE {
|
||||
start "dtdbcache";
|
||||
handle:
|
||||
|
||||
session DtDtsCache() => start opnum = 1;
|
||||
}
|
||||
60
cde/programs/tttypes/dtfile.ptype
Normal file
60
cde/programs/tttypes/dtfile.ptype
Normal file
@@ -0,0 +1,60 @@
|
||||
/* $XConsortium: dtfile.ptype /main/3 1996/11/19 15:51:24 drk $ */
|
||||
ptype DT_File_Manager {
|
||||
start "dtfile -noview";
|
||||
handle:
|
||||
session DtFileSession_Run() => start opnum=0;
|
||||
session DtFolder_Show() => start opnum=0;
|
||||
session DtHome_Show() => start opnum=0;
|
||||
session DtTools_Show() => start opnum=0;
|
||||
session DtTrash_Show() => start opnum=0;
|
||||
session DtTrash_Remove() => start opnum=0;
|
||||
session DtTrash_Empty() => start opnum=0;
|
||||
session DtFile_PutOnWorkspace() => start opnum=0;
|
||||
session DtFile_Move() => start opnum=0;
|
||||
session DtFile_Copy() => start opnum=0;
|
||||
session DtFile_Link() => start opnum=0;
|
||||
/*
|
||||
* Display FILE_NAME
|
||||
*/
|
||||
session Display( in FILE_NAME contents ) => start opnum = 1;
|
||||
session Display( in FILE_NAME contents,
|
||||
in messageID counterfoil ) => start opnum = 2;
|
||||
session Display( in FILE_NAME contents,
|
||||
in title docName ) => start opnum = 3;
|
||||
session Display( in FILE_NAME contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 4;
|
||||
/*
|
||||
* Edit FILE_NAME
|
||||
*/
|
||||
session Edit( inout FILE_NAME contents ) => start opnum = 101;
|
||||
session Edit( inout FILE_NAME contents,
|
||||
in messageID counterfoil ) => start opnum = 102;
|
||||
session Edit( inout FILE_NAME contents,
|
||||
in title docName ) => start opnum = 103;
|
||||
session Edit( inout FILE_NAME contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 104;
|
||||
/*
|
||||
* Display _DT_NETFILE
|
||||
*/
|
||||
session Display( in _DT_NETFILE contents ) => start opnum = 1001;
|
||||
session Display( in _DT_NETFILE contents,
|
||||
in messageID counterfoil ) => start opnum = 1002;
|
||||
session Display( in _DT_NETFILE contents,
|
||||
in title docName ) => start opnum = 1003;
|
||||
session Display( in _DT_NETFILE contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 1004;
|
||||
/*
|
||||
* Edit _DT_NETFILE
|
||||
*/
|
||||
session Edit( inout _DT_NETFILE contents ) => start opnum = 1101;
|
||||
session Edit( inout _DT_NETFILE contents,
|
||||
in messageID counterfoil ) => start opnum = 1102;
|
||||
session Edit( inout _DT_NETFILE contents,
|
||||
in title docName ) => start opnum = 1103;
|
||||
session Edit( inout _DT_NETFILE contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 1104;
|
||||
};
|
||||
30
cde/programs/tttypes/dticon.ptype
Normal file
30
cde/programs/tttypes/dticon.ptype
Normal file
@@ -0,0 +1,30 @@
|
||||
/* $XConsortium: dticon.ptype /main/2 1996/11/19 15:52:06 drk $ */
|
||||
ptype DT_Icon_Editor {
|
||||
start "dticon";
|
||||
handle:
|
||||
|
||||
/*
|
||||
* Edit
|
||||
*/
|
||||
session Edit( inout XPM contents,
|
||||
in messageID string)
|
||||
=> start opnum = 101;
|
||||
session Edit( inout XPM contents,
|
||||
in messageID string,
|
||||
in title iconName)
|
||||
=> start opnum = 102;
|
||||
session Edit( inout XPM2 contents,
|
||||
in messageID string)
|
||||
=> start opnum = 1101;
|
||||
session Edit( inout XPM2 contents,
|
||||
in messageID string,
|
||||
in title iconName)
|
||||
=> start opnum = 1102;
|
||||
session Edit( inout XBM contents,
|
||||
in messageID string)
|
||||
=> start opnum = 2101;
|
||||
session Edit( inout XBM contents,
|
||||
in messageID string,
|
||||
in title iconName)
|
||||
=> start opnum = 2102;
|
||||
};
|
||||
41
cde/programs/tttypes/dtinfo.ptype
Normal file
41
cde/programs/tttypes/dtinfo.ptype
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* $XConsortium: dtinfo.ptype /main/1 1996/06/17 14:28:05 rcs $
|
||||
*
|
||||
* (c) Copyright 1996 Digital Equipment Corporation.
|
||||
* (c) Copyright 1996 Hewlett-Packard Company.
|
||||
* (c) Copyright 1996 International Business Machines Corp.
|
||||
* (c) Copyright 1996 Sun Microsystems, Inc.
|
||||
* (c) Copyright 1996 Novell, Inc.
|
||||
* (c) Copyright 1996 FUJITSU LIMITED.
|
||||
* (c) Copyright 1996 Hitachi.
|
||||
*/
|
||||
|
||||
#include "dtinfo_start.opnums"
|
||||
|
||||
ptype DtInfo {
|
||||
start "/usr/dt/infolib/etc/dtinfo_start";
|
||||
handle:
|
||||
session DtInfo_LoadInfoLib (
|
||||
in string action_name,
|
||||
in string info_lib_host,
|
||||
in string locale)
|
||||
=> start opnum = LOAD_INFO_LIB;
|
||||
|
||||
session DtInfo_ShowInfoAtLoc (
|
||||
in string action_name,
|
||||
in string info_lib_host,
|
||||
in string locale,
|
||||
in string section)
|
||||
=> start opnum = SHOW_INFO_AT_LOC;
|
||||
observe:
|
||||
session DtInfo_Quit () => opnum = QUIT_DTINFO;
|
||||
}
|
||||
|
||||
ptype DtInfoPrint {
|
||||
start "/usr/dt/bin/dtinfo -print";
|
||||
handle:
|
||||
|
||||
/* print a specified section */
|
||||
session DtInfo_PrintInfoAtLoc()
|
||||
=> start opnum=PRINT_INFO_AT_LOC;
|
||||
};
|
||||
16
cde/programs/tttypes/dtinfo_start.opnums
Normal file
16
cde/programs/tttypes/dtinfo_start.opnums
Normal file
@@ -0,0 +1,16 @@
|
||||
/* $XConsortium:
|
||||
*
|
||||
* (c) Copyright 1996 Digital Equipment Corporation.
|
||||
* (c) Copyright 1996 Hewlett-Packard Company.
|
||||
* (c) Copyright 1996 International Business Machines Corp.
|
||||
* (c) Copyright 1996 Sun Microsystems, Inc.
|
||||
* (c) Copyright 1996 Novell, Inc.
|
||||
* (c) Copyright 1996 FUJITSU LIMITED.
|
||||
* (c) Copyright 1996 Hitachi.
|
||||
*
|
||||
*/
|
||||
|
||||
#define LOAD_INFO_LIB 1
|
||||
#define SHOW_INFO_AT_LOC 2
|
||||
#define QUIT_DTINFO 3
|
||||
#define PRINT_INFO_AT_LOC 4
|
||||
30
cde/programs/tttypes/dtinfo_start.ptype
Normal file
30
cde/programs/tttypes/dtinfo_start.ptype
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* $XConsortium: dtinfo_start.ptype /main/4 1996/03/25 08:52:03 barstow $
|
||||
*
|
||||
* (c) Copyright 1996 Digital Equipment Corporation.
|
||||
* (c) Copyright 1996 Hewlett-Packard Company.
|
||||
* (c) Copyright 1996 International Business Machines Corp.
|
||||
* (c) Copyright 1996 Sun Microsystems, Inc.
|
||||
* (c) Copyright 1996 Novell, Inc.
|
||||
* (c) Copyright 1996 FUJITSU LIMITED.
|
||||
* (c) Copyright 1996 Hitachi.
|
||||
*/
|
||||
|
||||
#include "dtinfo_start.opnums"
|
||||
|
||||
ptype DtInfo_Start {
|
||||
start "/usr/dt/infolib/etc/dtinfo_start";
|
||||
handle:
|
||||
session DtInfo_LoadInfoLib (
|
||||
in string action_name,
|
||||
in string info_lib_host,
|
||||
in string locale)
|
||||
=> start opnum = LOAD_INFO_LIB;
|
||||
|
||||
session DtInfo_ShowInfoAtLoc (
|
||||
in string action_name,
|
||||
in string info_lib_host,
|
||||
in string locale,
|
||||
in string section)
|
||||
=> start opnum = SHOW_INFO_AT_LOC;
|
||||
}
|
||||
42
cde/programs/tttypes/dtmail.ptype
Normal file
42
cde/programs/tttypes/dtmail.ptype
Normal file
@@ -0,0 +1,42 @@
|
||||
/* $XConsortium: dtmail.ptype /main/3 1996/11/19 15:52:46 drk $ */
|
||||
ptype RFC_822_Message {
|
||||
start "dtmail -t";
|
||||
handle:
|
||||
session Display( in RFC_822_Message contents ) => start opnum = 1 ;
|
||||
session Display( in RFC_822_Message contents,
|
||||
in title docName ) => start opnum = 3 ;
|
||||
|
||||
session Mail( in RFC_822_Message contents ) => start opnum = 301 ;
|
||||
session Mail( out RFC_822_Message contents ) => start opnum = 321 ;
|
||||
session Mail( out RFC_822_Message contents,
|
||||
in title docname ) => start opnum = 323 ;
|
||||
session Mail( inout RFC_822_Message contents ) => start opnum = 311 ;
|
||||
session Mail( inout RFC_822_Message contents,
|
||||
in title docname ) => start opnum = 313 ;
|
||||
};
|
||||
|
||||
ptype RFC_822_MESSAGE {
|
||||
start "dtmail -t";
|
||||
handle:
|
||||
session Print( in RFC_822_MESSAGE contents ) => start opnum = 1 ;
|
||||
|
||||
session Display( in RFC_822_MESSAGE contents ) => start opnum = 1 ;
|
||||
session Display( in RFC_822_MESSAGE contents,
|
||||
in title docName ) => start opnum = 3 ;
|
||||
|
||||
session Mail( in RFC_822_MESSAGE contents ) => start opnum = 301 ;
|
||||
session Mail( out RFC_822_MESSAGE contents ) => start opnum = 321 ;
|
||||
session Mail( out RFC_822_MESSAGE contents,
|
||||
in title docname ) => start opnum = 323 ;
|
||||
session Mail( inout RFC_822_MESSAGE contents ) => start opnum = 311 ;
|
||||
session Mail( inout RFC_822_MESSAGE contents,
|
||||
in title docname ) => start opnum = 313 ;
|
||||
};
|
||||
|
||||
ptype MAIL_TYPE {
|
||||
start "dtmail -t";
|
||||
handle:
|
||||
session Mail( inout ALL contents ) => start opnum = 311 ;
|
||||
session Mail( inout ALL contents,
|
||||
in title docname ) => start opnum = 313 ;
|
||||
};
|
||||
42
cde/programs/tttypes/dtpad.ptype
Normal file
42
cde/programs/tttypes/dtpad.ptype
Normal file
@@ -0,0 +1,42 @@
|
||||
/* $XConsortium: dtpad.ptype /main/2 1996/11/19 15:53:26 drk $ */
|
||||
ptype DTPAD {
|
||||
start "dtpad -server";
|
||||
handle:
|
||||
/*
|
||||
* Display ALL
|
||||
*/
|
||||
session Display( in ALL contents ) => start opnum = 1;
|
||||
session Display( in ALL contents,
|
||||
in messageID counterfoil ) => start opnum = 2;
|
||||
session Display( in ALL contents,
|
||||
in title docName ) => start opnum = 3;
|
||||
session Display( in ALL contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 4;
|
||||
/*
|
||||
* Edit ALL
|
||||
*/
|
||||
session Edit( inout ALL contents ) => start opnum = 101;
|
||||
session Edit( inout ALL contents,
|
||||
in messageID counterfoil ) => start opnum = 102;
|
||||
session Edit( inout ALL contents,
|
||||
in title docName ) => start opnum = 103;
|
||||
session Edit( inout ALL contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 104;
|
||||
/*
|
||||
* Compose ALL
|
||||
*/
|
||||
session Edit( out ALL contents ) => start opnum = 201;
|
||||
session Edit( out ALL contents,
|
||||
in messageID counterfoil ) => start opnum = 202;
|
||||
session Edit( out ALL contents,
|
||||
in title docName ) => start opnum = 203;
|
||||
session Edit( out ALL contents,
|
||||
in messageID counterfoil,
|
||||
in title docName ) => start opnum = 204;
|
||||
/*
|
||||
* Instantiate
|
||||
*/
|
||||
session Instantiate( in ALL contents ) => start opnum = 401;
|
||||
};
|
||||
12
cde/programs/tttypes/dtterm.ptype
Normal file
12
cde/programs/tttypes/dtterm.ptype
Normal file
@@ -0,0 +1,12 @@
|
||||
/* $XConsortium: dtterm.ptype /main/4 1996/11/19 15:54:06 drk $ */
|
||||
ptype SDT_Terminal {
|
||||
start "dtterm -sdtserver";
|
||||
handle:
|
||||
session SDtTerminal_New() => start opnum=0;
|
||||
};
|
||||
|
||||
ptype DT_Terminal {
|
||||
start "dtterm -dtserver";
|
||||
handle:
|
||||
session DtTerminal_New() => start opnum=0;
|
||||
};
|
||||
Reference in New Issue
Block a user