InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UtilsBoss Class Reference

#include <Utils.h>

Static Public Member Functions

static void Purge ()
 
static IPMUnknownQueryUtils (const PMIID &utilsIID)
 

Detailed Description

UtilsBoss is a static class responsible for managing the single kUtilsBoss object. This object is used by the Utils<> helper object to get interfaces off the UtilsBoss. Ordinarily you should not need to use this class directly.

Member Function Documentation

static void UtilsBoss::Purge ()
static

Called when the application is shutting down to release the referenced utils boss object. For internal use only.

static IPMUnknown* UtilsBoss::QueryUtils (const PMIIDutilsIID)
static

Returns a pointer to the requested interface of the kUtilsBoss, or nil if there is none.

Parameters
utilsIIDIID of the requested interface
Returns
a pointer to the requested interface of the kUtilsBoss