InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPanelPtr Class Referenceabstract

#include <IPanelPtr.h>

Inheritance diagram for IPanelPtr:
IPMUnknown

Public Member Functions

virtual void SetPanel (IControlView *panel)=0
 
virtual IControlViewQueryPanel () const =0
 
virtual bool16 HasPanel () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

A simple interface that encapsultes a pointer to a panel. Used several places where some code needs to know which panel to do something with.

Member Function Documentation

virtual bool16 IPanelPtr::HasPanel () const
pure virtual

Has a panel been set.

Returns
whether a panel has been set. Checks for a panel, but will avoid reinstantiating if possible.
virtual IControlView* IPanelPtr::QueryPanel () const
pure virtual

Get the panel we're interested in.

Returns
pointer to the panel we're keeping track of.
virtual void IPanelPtr::SetPanel (IControlViewpanel)
pure virtual

Set the panel we're interested in.

Parameters
panelpointer to the panel we want to keep track of.