home *** CD-ROM | disk | FTP | other *** search
- inline ICommandEvent::ICommandEvent(IEvent& evt)
- /**************************************************************/
- /* Constructor. */
- /**************************************************************/
- : IEvent(evt)
- {;}
-
- inline unsigned long ICommandEvent::commandId() const
- /**************************************************************/
- /* Get the ID. Such as push-button ID, menu-item ID etc. */
- /**************************************************************/
- {
- return param1().number1();
- }
-
- inline unsigned long ICommandEvent::sourceId() const
- /**************************************************************/
- /* Return an ID that identify the source of the command event.*/
- /**************************************************************/
- {
- return param2().number1();
- }