![]() | InDesign SDK 20.5 |
#include <ScriptClientObject.h>
Public Member Functions | |
| virtual void | AddRefFromObjectModel () const =0 |
| virtual void | ReleaseRefFromObjectModel () const =0 |
| virtual void | ReleaseReferencesToObjectModel (IScript *script)=0 |
A mixin class for scripting client object classes. This interface is used to inform a scripting client object that the InDesign object model boss that the client object represents is being deleted. See
| pure virtual |
Increment the number of references held by the object model on this ScriptClientObject. Typically calls the object's AddRef() method, but may increment a separate reference count in order to distinguish references held by the client from references held by the object model.
| pure virtual |
Release all InDesign object model boss references that are being held by this client object (possibly including any child collection client objects) on the passed in boss.
| script | is the IScript interface on the boss making the request. Typically the client object will call "script->UnregisterClientObject( this )" as part of its implementation of this method. |
| pure virtual |
Decrement the number of references held by the object model on this ScriptClientObject. Typically calls the object's Release() method, but may decrement a separate reference count in order to distinguish references held by the client from references held by the object model.