![]() | InDesign SDK 20.5 |
#include <HelperInterface.h>
Public Member Functions | |
| HelperInterface (IPMUnknown *boss) | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| IControllingUnknown * | GetBoss () |
Friends | |
| class | ObjectModelBase |
This class provides default implementations of QueryInterface, AddRef, and Release for implementations that inherit from IPMUnknown. You should not need to access this directly; normally, you just inherit from CPMUnknown to get this functionality.
| inline |
Constructor.
| inline |
Default implementation of AddRef. Calls the boss to handle it. Does nothing if there is no boss.
| inline |
Return the boss
| inline |
Default implementation of QueryInterface. Calls the boss to handle the query. Does nothing if there is no boss.
| inline |
Default implementation of Release. Calls the boss to handle it. Does nothing if there is no boss.