messaging.h

Go to the documentation of this file.
00001 // Here we have message definitions, in one file for easy access
00002 
00003 #ifndef __OE_MESSAGING_H__
00004 #define __OE_MESSAGING_H__
00005 
00014 enum oe_message_e
00015 {
00016     OE_MSG_INIT                                 = 1,
00017     OE_MSG_UNINIT                               = 2,
00018     OE_MSG_QUEUE_VIRTUALIZATION_REQUIREMENTS    = 3,
00019     OE_MSG_QUEUE_CONFIGURATION_REQUIREMENTS     = 4,
00020     OE_MSG_VIRTUALIZATION_REQUIREMENT           = 5,
00021     OE_MSG_CONFIGURATION_REQUIREMENT            = 6,
00022 
00023     // Execute a frame!
00024     OE_MSG_BEGIN_FRAME                          = 7,
00025     OE_MSG_EXECUTE                              = 8,
00026     OE_MSG_END_FRAME                            = 9,
00027 
00028     // Define a timebase. In this one, the void * will be a number, in updates (frames) per
00029     //  second. Layer 4 will define this (by default) as 15. Each emulator will have to
00030     //  redefine this when it is initialized.
00031     OE_MSG_DEFINE_TIMEBASE                      = 10,
00032     OE_MSG_EXIT_PROGRAM                         = 11,
00033 
00034     OE_MSG_LAYERS_BEGIN_FRAME                   = 12,
00035     OE_MSG_LAYERS_END_FRAME                     = 13,
00036 
00037     // When buttons/keys are pressed/released
00038     OE_MSG_KEY_DOWN                             = 40,
00039     OE_MSG_KEY_UP                               = 41
00040 };
00041 
00042 #endif

Generated on Sat Sep 9 03:50:43 2006 for Openem APIs by  doxygen 1.4.7