InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWorkspace Class Referenceabstract

#include <IWorkspace.h>

Inheritance diagram for IWorkspace:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IWORKSPACE }
 

Public Member Functions

virtual void Startup ()=0
 
virtual void Shutdown ()=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

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.

See Also
IStartupShutdownService
kWorkspaceBoss (session workspace)
kDocWorkspaceBoss (document workspace)