René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
Character_ [Ming wrapper class] | ||
The sourceCharacter_.h
#ifndef CHARACTER_H #define CHARACTER_H #include "ming.h" /* A Character_ might be interested to know if it was added to a MovieClip_, therefore, the Button and the MovieClip_ call AfterAdding when a Character_ had been added to a MovieClip_ (but not when it has been added to a Button). */ class DisplayItem; class Character_ { friend class Button; friend class Movie; friend class MovieClip; friend class Shape; friend class Text; friend class TextField; protected: virtual SWFBlock_s* swf_block() const = 0; /* This method is called by a MovieClip_ before the Character_ is added to the MovieClip_ */ virtual void BeforeAdding() {} /* This method is called by a MovieClip_ when this Character_ was added to the MovieClip_ */ virtual void AfterAdding(DisplayItem&) {} }; #endif
Character_ is an abstract base class, it doesn't, therefore, have an implementation (*.cpp) file.
|