home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1B
/
DATAFILE_PDCD1B.iso
/
_pocketbk
/
pocketbook
/
001
/
lpc091s_zi
/
LPC.CAT
< prev
next >
Wrap
Text File
|
1994-04-21
|
4KB
|
101 lines
LIBRARY lpc
INCLUDE p_std.h
INCLUDE p_object.h
CLASS lpcon
{
ADD lpc_destroy Free buffers then root_destroy
ADD lpc_init Set user status word, if any
! next group of methods are asynchronous
ADD lpc_action Interpret command and act on it
ADD lpc_key Send key with modifier
ADD lpc_string Send string of keys
ADD lpc_pause Pause (in client) for specified time
ADD lpc_message Cause message to be displayed
ADD lpc_disp_menu Display menu at given position
ADD lpc_client_pos Move process to specified client position
ADD lpc_ground_state Bring application to ground state
ADD lpc_allcount Alloc count in attached process
ADD lpc_self_check Self test attached process
ADD lpc_dialog Run remote dialog
ADD lpc_get_key Get next key press to record
ADD lpc_exec Execute program and attach to it
ADD lpc_wait Wait for completion of last img/opl launched
ADD lpc_bring_send Bring data then send it as a string
ADD lpc_name_send Format name then send it as a string
! next group are synchronous but have async interfaces via lpc_action
ADD lpc_store_pid Store current pid for later use
ADD lpc_restore_pid Restore current pid from earlier use
ADD lpc_attach Try to attach to specified process
ADD lpc_attach_fore Attach to foreground process
ADD lpc_attach_fname Try to attach to process specified by file
ADD lpc_zap Kill all specified processes
ADD lpc_kill Kill attached process
ADD lpc_terminate Terminate attached process
ADD lpc_closedown Closedown message to attached process
ADD lpc_exec_img Execute image program
ADD lpc_exec_opl Execute Opl program
ADD lpc_hook_dyl Application should launch and hook DYL
ADD lpc_convert Convert selected stored characters to zero
ADD lpc_beep Beep (as in Opl)
! next group of methods are synchronous set or sense methods
ADD lpc_bring Sense link paste data
ADD lpc_record Turn recording state on or off
ADD lpc_yield Yield CPU to any other processes that need it
ADD lpc_set_pid Set attached pid
ADD lpc_sense_pid Sense attached pid
ADD lpc_sense_name Sense formatted name of process
ADD lpc_test_pid Test whether could attach to given pid
ADD lpc_store Store text buffer for later use
ADD lpc_process_info Return menu/dialog/locked/filter/busy/start state
ADD lpc_count_dialogs Return count of dialogs
ADD lpc_sense_iosem Return value of io semaphore
ADD lpc_sense_amstart Return value of appman.start
ADD lpc_cancel Cancel current activity
CONSTANTS
{
LPC_MENU_SHOWING 0x01
LPC_DIALOG_SHOWING 0x02
LPC_APP_LOCKED 0x04
LPC_FILTER_USED 0x08
LPC_IOSEM_ACTIVE 0x10
LPC_AM_STARTED 0x20
}
TYPES
{
typedef struct
{
VOID *main;
UWORD main_len;
VOID *extra;
WORD extra_val;
} LPC_DIALOG_DATA;
typedef struct
{
UWORD time;
UWORD key;
UBYTE mods;
UBYTE count;
} LPC_GET_KEY;
}
PROPERTY
{
P_OBJECT pc; PRS_ROOT
WORD pid; Process currently attached to
WORD whandler; Handle of wait handler
UBYTE cancel; TRUE if cancel pending
UBYTE strCount; Used by string processing
UBYTE *pstr; For processing string commands
WORD sstat; String status word
WORD lstat; Logon status word
WORD mstat; Messaging status word
WORD *pMstat; Pointer to messaging status word
WORD *pUstat; Pointer to user's status word
WORD ipid; Process started with exec_img
WORD vpid; Process stored to use later
VOID *pStore; Extra storage possibly allocated
UWORD storeLen; Length of extra storage
}
}