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

#include <ITrackerRegister.h>

Inheritance diagram for ITrackerRegister:
IPMUnknownCPMUnknown< ITrackerRegister >WaveTrackerRegisterSnapTrackerRegister

Public Member Functions

virtual void Register (ITrackerFactory *factory)=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

Defines an interface used for registering trackers. When the app starts up with no saved data, it will query all objects that implement ITrackerRegister and request them to register their trackers. This is similar to how services, menus, and palettes are registered. Typical implementation of a tracker register interface will use the factory interface to call InstallTracker. Will typically be installed on a boss that also has an IID_IK2SERVICEPROVIDER service provider with kCTrackerRegisterProviderImpl implementation.

See Also
ITrackerFactory.h
ITracker.h

Member Function Documentation

virtual void ITrackerRegister::Register (ITrackerFactoryfactory)
pure virtual

Called at startup in order to register a particular tracker.

Parameters
*factorythe ITrackerFactory interface to register your tracker in.

Implemented in WaveTrackerRegister, and SnapTrackerRegister.