unregisterDocumentSrc( )

Unregister a document source.

Interface

PODSDocumentMgr

IDL definition
void unregisterDocumentSrc(PODSDocumentSrc documentSrc);
JavaScript synopsis

Not applicable

C synopsis
void PODSunregisterDocumentSrc(
  PODSDocumentMgr* docmgr,
  PODSDocumentSrc* documentSrc
);
Parameters
  • docmgr   The PODSDocumentMgr object.

  • documentSrc   [in] The document source to unregister.

Returns

None

Remarks

The unregisterDocumentSrc( ) and registerDocumentSrc( ) and methods are used when writing your own document source, through your PODSPODNew( ) function. See Implementing the PODSPodNew( ) function.

There is no need to unregister a document source at the end of your application; the destroy( ) method, inherited from the PODSObject object's destroy( ) automatically performs this function. Only call unregisterDocumentSrc( ) to remove a document source from the system before your application ends.

See also

registerDocumentSrc( )