InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
LnkWtchDocResponder Class Reference
Inheritance diagram for LnkWtchDocResponder:
CResponderIResponderIPMUnknown

Public Member Functions

 LnkWtchDocResponder (IPMUnknown *boss)
 
virtual ~LnkWtchDocResponder ()
 
virtual void Respond (ISignalMgr *signalMgr)
 
- Public Member Functions inherited from CResponder
 CResponder (IPMUnknown *boss)
 
virtual ServiceID GetResponderService ()
 
virtual void SignalFailed (ISignalMgr *signalMgr)
 

Additional Inherited Members

- Public Types inherited from IResponder
enum  { kDefaultIID = IID_IRESPONDER }
 

Detailed Description

Attaches and detaches LnkWtchCacheManager as documents are created, opened and closed. On close write each entry in the cache to this plug-in's log. The log file is created in the defaults folder for the application. For example, for InDesign CS3 the log file can be found at the locations below:


On Windows:

"C:\Documents and Settings\<user>\Application Data\Adobe\InDesign\Version 5.0\LinkWatcher.txt"
On Macintosh:

"/Users/<user>/Library/Preferences/Adobe InDesign/Version 5.0/LinkWatcher.txt"

See Also
LnkWtchCacheManager
ILnkWtchCache

Constructor & Destructor Documentation

LnkWtchDocResponder::LnkWtchDocResponder (IPMUnknownboss)
Constructor.

Parameters
bossobject this object is aggregated on.
virtual LnkWtchDocResponder::~LnkWtchDocResponder ()
inlinevirtual

Destructor.

Member Function Documentation

void LnkWtchDocResponder::Respond (ISignalMgrsignalMgr)
virtual

Attaches LnkWtchCacheManager when documents are created or opened, detaches it on close.

Parameters
signalMgrprovides information about the signal.

Reimplemented from CResponder.