home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- switchwindow/wbexecchildclass
- switchwindow/wbexecclass
- switchwindow/wbexecchildclass switchwindow/wbexecchildclass
-
- NAME
- wbexecchildclass -- Invoke a programm like from workbench.
-
- FUNCTION
- NOP
-
- Class: wbexecchildclass
- Superclass: rootclass
-
- METHODS
- OM_NEW -- create a new object. If the creating of the new process
- fails, the object won't be created.
-
- OM_GET -- obtain the value of an attribute.
-
- OM_DISPOSE -- dispose object. If the project didn't finished yet,
- wait for it.
-
- TAGS
- ...
-
- NOTE
- Because it's ILLEGAL to scan another process pathlist the
- "default tool" path will be got from current process.
-
- BUGS
- Does currently not scan paths when processing projecticon's default
- tool.
- This will be fixed.
-
- switchwindow/wbexecclass switchwindow/wbexecclass
-
- NAME
- wbexecclass -- Invoke a programm like from workbench.
-
- FUNCTION
- Starts a program like from workbench.
- This class creates for eatch OM_UPDATE running on a process a
- wbexecchildclass object which starts the application.
-
- Class: wbexecclass
- Superclass: rootclass
-
- METHODS
- OM_NEW -- create a new object.
-
- OM_SET -- set an object's attribute.
-
- OM_GET -- obtain the value of an attribute.
-
- OM_UPDATE -- update an object's attribute and creates a
- new wbexecchildclass object which starts the program when
- any tags appears in (msg -> opu_AttrList).
- Finished wbexecchildclass objects will be disposed.
- NOTE that this one works for an OM_UPDATE running on a process.
- OM_UPDATE running on a plane task are only allowed to update
- attributes.
-
- OM_DISPOSE -- Wait for outstanding wbexecchilds. Then dispose itself.
-
- TAGS
- WBEXECA_IconName (STRPTR) -- name of icon to process.
- This may be a toolicon or a projecticon.
- If a projecticon is given, it's default tool will be invoked.
-
- Applicability is (ISGU).
-
- WBEXECA_NumArgs (LONG) -- number of entries in
- WBEXECA_ArgList array.
-
- Applicability is (ISU).
-
- WBEXECA_ArgList (struct WBArg *) -- array of (struct WBArg)
- entries.
-
- Applicability is (ISU).
-
- WBEXECA_UserData (ULONG) -- like GA_UserData
-
- Applicability is (ISGU).
-
- NP_Priority (long) -- process priority.
- Defaults to 0L.
-
- Applicability is (ISGU).
-
- NP_StackSize (long) -- default stacksize for all new processes.
- Defaults to 4096L.
-
- Applicability is (ISGU).
-
- NOTE
- OM_UPDATE will only work with processes, not with tasks.
- This will be a problem when gadgets want to invoke programs in this
- way.
- A direct link from input.device task driven gadget will only be useful
- to update attributes.
- The workaround is to set the target to ICTARGET_IDCMP and connect the
- window to the wbexecclass object.
-
-