MessageCodes.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005 Palmsource, Inc.
00003  * 
00004  * This software is licensed as described in the file LICENSE, which
00005  * you should have received as part of this distribution. The terms
00006  * are also available at http://www.openbinder.org/license.html.
00007  * 
00008  * This software consists of voluntary contributions made by many
00009  * individuals. For the exact contribution history, see the revision
00010  * history and logs, available at http://www.openbinder.org
00011  */
00012 
00013 #ifndef _SUPPORT_MESSAGECODES_H_
00014 #define _SUPPORT_MESSAGECODES_H_
00015 
00021 #if _SUPPORTS_NAMESPACE
00022 namespace palmos {
00023 namespace support {
00024 #endif
00025 
00030 /**************************************************************************************/
00031 
00032 enum {
00033     B_KEY_DOWN                  = 'keyd',
00034     B_KEY_UP                    = 'keyu',
00035     B_KEY_HELD                  = 'keyh',
00036     B_STRING_INPUT              = 'stri',
00037     B_UNMAPPED_KEY_DOWN         = 'ukyd',
00038     B_UNMAPPED_KEY_UP           = 'ukyu',
00039     B_FIND_HAPPENING_SOMEWHERE  = 'find',   /* PRIVATE -- temporary until find can be run from not main UI thread */
00040     B_INVALIDATE                = 'invl',
00041     B_MODIFIERS_CHANGED         = 'mdch',
00042     B_PEN_DOWN                  = 'pndn',
00043     B_PEN_MOVED                 = 'pnmv',
00044     B_PEN_UP                    = 'pnup',
00045     B_PEN_MOVED_WHILE_UP        = 'pnmu',
00046     B_PEN_DRAGGED               = 'pndg',
00047     B_PEN_EXITED                = 'pnex',
00048     B_PEN_DROPPED               = 'pndp',
00049     B_MOUSE_WHEEL_CHANGED       = 'whel',
00050     B_NULL_EVENT                = 'null',
00051     B_DEBUG_EVENT               = 'debg',
00052     B_SPY_EVENT                 = 'spye',
00053     B_SET_TIMEOUTS_EVENT        = 'stim',
00054     B_PLAYBACK_EVENT            = 'play',
00055     B_HIGHLEVEL_EVENT           = 'hlvl',
00056     B_DISCOVER                  = 'disc',
00057     B_STOP_DISCOVERY            = 'ndsc',
00058     B_VIEW_PROPERTIES           = 'prop',
00059     B_STOP_LISTENING            = 'nlst',
00060 
00061     // Private for input_server.
00062     bmsgEnqueuePointerEvent     ='_ENP',
00063     bmsgEnqueueKeyEvent         ='_ENK'
00064 };
00065 
00066 /**************************************************************************************/
00067 
00070 #if _SUPPORTS_NAMESPACE
00071 } } // namespace palmos::support
00072 #endif
00073 
00074 #endif  // _SUPPORT_MESSAGECODES_H_