home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- switchwindow/projectclass
- switchwindow/projectclass switchwindow/projectclass
-
- NAME
- projectclass -- root object for application project instances
-
- FUNCTION
- This class represents an project in an application.
- It handels all other objects with names, classes or groups,
- supports object locking (attrlock, memberlock etc.),
- online help through AmigaGuide documents and a memory pool and
- a global semaphore.
-
- Class: projectclass
- Superclass: icclass
-
- METHODS
- OM_NEW -- Create a new project object, locking the requested public
- screen and opens the specified amigaguide document on request.
-
- OM_SET -- Set an object's attribute
-
- OM_GET -- Obtain the value of an attribute.
-
- OM_UPDATE -- Update some attributes.
- When PROJECTA_NOTIFYMEMBERNAME/PROJECTA_NOTIFYMEMBER is given, the
- msg will be routed to that object which name/ptr is given
- in (ti -> ti_Data).
-
- When PROJECTA_HELPMEMBERNAME/PROJECTA_HELPMEMBER is given,
- this object will be the current helpobject.
-
- OM_ADDMEMBER -- Add a member.
- Object must be a frontendclass object or NULL.
-
- OM_REMMEMBER -- Remove a member.
- Object should be a valid member of this project.
- The ptr given will be checked (random ptrs will be ignored) and
- may be NULL.
-
- OM_DISPOSE -- Dispose object and all connected members.
-
- ...
- TAGS
- PROJECTA_PROJECTNAME (STRPTR) -- Project's name.
-
- Applicability is (ISG).
-
- PROJECTA_PROJECTTITLE (STRPTR) -- Project's title.
-
- Applicability is (ISG).
-
- PROJECTA_PROJECTDESCR (STRPTR) -- Litte description of this project.
-
- Applicability is (ISG).
-
- PROJECTA_APPLICATIONNAME (STRPTR) -- Applications name.
-
- Applicability is (IG).
-
- PROJECTA_PORTBASENAME (STRPTR) -- rexx port base name.
- The public port list unique name should be created like this:
- <PROJECTA_PORTBASENAME>.<PROJECTA_PROJECTCOUNT>(.<unique id>)
- The unique id may only be given if any public port list entry with
- this name already exists.
-
- Applicability is (IG).
-
- ...
-
- PROJECTA_PROJECTCOUNT (ULONG) -- Number of project.
-
- Applicability is (ISG).
-
- PROJECTA_MEMPOOLPUDDLESIZE (ULONG) -- Puddlesize for project's
- mempool.
- See also exec.library/CreatePool()
-
- Applicability is (I).
-
- PROJECTA_MEMPOOLTHRESHSIZE (ULONG) -- Threshsize for project's
- mempool.
- See also exec.library/CreatePool()
-
- Applicability is (I).
-
- PROJECTA_NOTIFYMEMBERNAME (STRPTR) -- When OM_UPDATE is send,
- the msg will also be passed to the named (ti -> ti_Data) member.
-
- Applicability is (U).
-
- PROJECTA_NOTIFYMEMBER (Object *) -- Like PROJECTA_NOTIFYMEMBERNAME,
- but use a direct Object ptr.
- ti_Data may be a frontendclass stub or another object, but
- it must be a valid member of this project.
- Note: PROJECTA_NOTIFYMEMBER will cause a PROJECTM_VALIDMEMBER
- to implement this feature.
-
- Applicability is (U).
-
- PROJECTA_HELPMEMBERID (UWORD) --
-
- PROJECTA_HELPMEMBERNAME (STRPTR) --
-
- PROJECTA_HELPMEMBER (Object *) --
-
- PROJECTA_HELPGROUP (ULONG) -- Project's unique helpgroup,
- obtained by utility.library/GetUniqueID().
-
- PROJECTA_SHOWHELP (BOOL) -- Determine whether the AmigaGuide
- document is shown. Defaults to FALSE.
-
- Applicability is (ISG).
-
- PROJECTA_CONTINOUSHELP (BOOL) -- Every PROJECTA_HELPMEMBER#? will
- cause the connected amigaguide node
- (see frontendclass/OBJA_HELPNODE) to be shown.
- Defaults to FALSE.
-
- Applicability is (ISG).
-
- PROJECTA_GUIDENAME (STRPTR) -- Name of projects amigaguide document.
- Defaults to NULL.
-
- Applicability is (ISG).
-
- PROJECTA_LOCALENAME (STRPTR) -- Name of locale prefs file.
-
- Applicability is (ISG).
-
- ...
-
- PROJECTA_PUBSCREENNAME (STRPTR) -- Name of publicscreen to appear.
- When changed, this attribute is also notified to project's
- ICA_TARGET. (PROJECTA_PUBSCREEN will also passed in this msg).
-
- Applicability is (ISGUN).
-
- ...
-
- PROJECTA_SHOWGUI (BOOL) -- Indicates if projects GUI should be
- visible or not. This attribute will NOT be cached. It will only
- be notified to project's ICA_TARGET.
-
- Applicability is (SUN).
-
- PROJECTA_DONE (BOOL) -- The project will dispose itself.
- The object will add itself to a list of those projects,
- which should be disposed/closed.
-
- Applicability is (SU):
-
- ...
-
- BUGS
- Whenever PROJECTA_PUBSCREENNAME is changed, the AmigaGuide
- document window will be closed and not reopened if it was
- already open. Can't be fixed yet because I don't know how to
- determinate if the AG window was open.
-
-