![]() | InDesign SDK 20.5 |
#include <IEasterEgg.h>

Public Types | |
| enum | { kDefaultIID = IID_IEASTEREGG } |
Public Member Functions | |
| virtual const char * | GetKeyString ()=0 |
| virtual void | ShowEasterEgg (IWindow *window)=0 |
| virtual void | CloseEasterEgg ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Not the most supported interface, the IEasterEgg interface is a service provider interface (kEasterEggService) that can be called when a certain key string is typed when the about box is open. IT MIGHT BE UNSUPPORTED RIGHT NOW.
| pure virtual |
The object that calls ShowEasterEgg should call this before closing the window. This will give the egg an opportunity to stop any idle tasks it has running and gracefully shutdown.
| pure virtual |
What sequence of keys must be typed before your easter egg is displayed? The strings are combined into a single state-machine that looks for matches.
| pure virtual |
When the user types the necessary key string, the about box will call this method, passing in a pointer to the IWindow interface of the about box. Do what you will. Caveat Emptor and all that.
| window | is the window to display your handiwork in. |