InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SnapErrorStringService Class Reference
Inheritance diagram for SnapErrorStringService:
CErrorStringServiceCPMUnknown< IErrorStringService >IErrorStringServiceIPMUnknown

Public Member Functions

 SnapErrorStringService (IPMUnknown *boss)
 
virtual ~SnapErrorStringService (void)
 
- Public Member Functions inherited from CErrorStringService
 CErrorStringService (IPMUnknown *boss, PluginID pluginPrefix, RsrcID errorStringTableRsrcID)
 
virtual bool16 HasUserErrorString (ErrorCode errCode, IPMUnknown *errInfo) const
 
virtual PMString GetUserErrorString (ErrorCode errCode, IPMUnknown *errInfo) const
 
- Public Member Functions inherited from CPMUnknown< IErrorStringService >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Public Types inherited from IErrorStringService
enum  { kDefaultIID = IID_IERRORSTRINGSERVICE }
 
- Protected Member Functions inherited from CPMUnknown< IErrorStringService >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CErrorStringService
PluginID fPluginID
 
RsrcID fErrorStringTableRsrcID
 

Detailed Description

From SDK sample; Provides error string service for SnapShot that maps this plug-in's ErrorCode's to error strings defined in the UserErrorTable ODFRez statement in Snap.fr.

Constructor & Destructor Documentation

SnapErrorStringService::SnapErrorStringService (IPMUnknownboss)
inline

Constructor; this is where we specify the pluginID and the resourceID for the UserErrorTable resource that is associated with this implementation.

Parameters
bossinterface pointer from boss object on which this interface is aggregated.
virtual SnapErrorStringService::~SnapErrorStringService (void )
inlinevirtual

Destructor