![]() | InDesign SDK 20.5 |
#include <IWorkspace.h>

Public Types | |
| enum | { kDefaultIID = IID_IWORKSPACE } |
Public Member Functions | |
| virtual void | Startup ()=0 |
| virtual void | Shutdown ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IWorkspace is a handle used for accessing preferences: either application preferences, or document preferences- you should not need to call any methods here.
Provides an abstract interface for the concept of a "Workspace". Most people will add their own interfaces to the boss object where the IWorkspace resides rather than add to the workspace itself. This interface, then, provides a startup, shutdown methodology which can be added to. However, designers should instead use the service manager and create a startup/shutdown service instead of overriding implementations of IWorkspace. This interface then becomes mainly a marker to see if a particular boss is considered a workspace or not.