Mobile SDK for Windows Apps2.0
Transforming Windows apps into Mobile apps
cmpcap.h
Go to the documentation of this file.
00001 
00011 #pragma once
00012 
00083 #ifdef CMPCOM
00084 [export, library_block]
00085 #endif
00086 enum CMP_CAP_ID
00087 {
00088     CAPID_UNKNOWN                   =  0x0000,      // Unknown capability             
00089     CAPID_INPUT                     =  0x0001,      // Input capability               
00090     CAPID_DISPLAY_INFO              =  0x0002,      // Display information capability 
00091     CAPID_DEVICE_INFO               =  0x0003,      // Device information capability  
00092     CAPID_ORIENTATION               =  0x0005,      // Orientation capability         
00093     CAPID_SCROLL_MODES              =  0x0006,      // Scroll Modes capability        
00094     CAPID_BUTTON_SET_TARGET         =  0x0007,      // Set Button Target capability   
00095     CAPID_VIEWPORT                  =  0x0008,      // Get/Set Viewport capability    
00096     CAPID_DYNAMIC_DISPLAY           =  0x0009,      // Dynamic Display capability     
00097     CAPID_PICKER_CONTROL            =  0x000A,      // Picker Control capability      
00098     CAPID_PHONE_CALL                =  0x000B,      // Phone call capability          
00099     CAPID_SMS                       =  0x000C,      // Send SMS capability            
00100     CAPID_TAKE_PICTURE              =  0x000E,      // Take Picture capability        
00101     CAPID_NOTIFICATION              =  0x000F,      // User notification capability   
00102     CAPID_RECEIVER_CONTROLS         =  0x0010,      // Receiver controls capability   
00103     CAPID_EVENT_FILTER              =  0x0011,      // Event filter capability
00104     CAPID_VIRTUAL_DEVICE            =  0x0012,      // virtual device object support
00105     CAPID_CAPTURE                   =  0x0013,      // capture (picture, video, audio) support
00106     CAPID_DEVICE_DEFAULTS           =  0x0014,      // device defaults (keyboard, button, viewport, etc)
00107     CAPID_SUPPORTED_ORIENTATIONS    =  0x0015,      // application can specify supported orientations
00108     CAPID_FILENAME_NAMESPACE        =  0x0016       // server supports standard filename namespace
00109 };
00110 
00111 
00137 #ifdef CMPCOM
00138 [export, library_block]
00139 #endif
00140 enum CMP_CAP_BUTTON_KEY_ID
00141 {
00142     CAP_BUTTON_ENABLE                = 0,              // Bool - capability is enabled       
00143     CAP_BUTTON_BACK                  = 1,              // Bool - back button supported       
00144     CAP_BUTTON_SEARCH                = 2,              // Bool - search button supported     
00145     CAP_BUTTON_HOME                  = 3,              // Bool - home button supported       
00146     CAP_BUTTON_MENU                  = 4,              // Bool - menu button supported       
00147     CAP_BUTTON_MASK                  = 5               // UInt16 - button mask value         
00148 };
00149 
00166 #ifdef CMPCOM
00167 [export, library_block]
00168 #endif
00169 enum CMP_CAP_TAKE_PICTURE_KEY_ID
00170 {
00171     CAP_TAKE_PICTURE_ENABLE                = 0,              // Bool - capability is enabled  
00172     CAP_TAKE_PICTURE_JPEG                  = 1,              // Bool - camera supports JPEG   
00173     CAP_TAKE_PICTURE_PNG                   = 2,              // Bool - camera supports PNG    
00174 };
00175 
00270 #ifdef CMPCOM
00271 [export, library_block]
00272 #endif
00273 enum CMP_CAP_INPUT_KEY_ID
00274 {
00275     CAP_INPUT_ENABLE                = 0,              // Bool - capability is enabled                         
00276     CAP_INPUT_KYBD                  = 1,              // Bool - supports display keyboard                     
00277     CAP_INPUT_PHYSICAL_KYBD         = 2,              // Bool - supports physical keyboard                    
00278     CAP_INPUT_TRACKBALL             = 3,              // Bool - supports trackball                            
00279     CAP_INPUT_MOUSE                 = 4,              // Bool - supports mouse                                
00280     CAP_INPUT_STD_KYBD              = 5,              // Bool - supports standard display keyboard            
00281     CAP_INPUT_NUMPAD_KYBD           = 6,              // Bool - supports number pad display keyboard          
00282     CAP_INPUT_PHONEPAD_KYBD         = 7,              // Bool - supports phone pad display keyboard           
00283     CAP_INPUT_URL_KYBD              = 8,              // Bool - supports phone pad display keyboard           
00284     CAP_INPUT_EMAIL_KYBD            = 9,              // Bool - supports email display keyboard               
00285     CAP_INPUT_PHONE_NAME_KYBD       = 10,             // Bool - supports phone name keyboard                  
00286     CAP_INPUT_NUMBERS_PUNC_KYBD     = 11,             // Bool - supports numbers and punctuation keyboard     
00287     CAP_INPUT_DECIMAL_POINT_KYBD    = 12,             // Bool - supports number pad with decimal point        
00288     CAP_INPUT_HIDE                  = 13,             // Bool - supports hide/show display keyboard           
00289     CAP_INPUT_AUTO_CORRECT          = 14,             // Bool - supports keyboard auto correction             
00290     CAP_INPUT_AUTO_CAPITALIZATION   = 15,             // Bool - supports keyboard auto capitalization         
00291     CAP_INPUT_AUTO_CAPITAL_WORD     = 16,             // Bool - supports keyboard auto capitalization - word  
00292     CAP_INPUT_AUTO_CAPITAL_SENTENCE = 17,             // Bool - supports keyboard auto capitalization - sentence
00293     CAP_INPUT_AUTO_CAPITAL_LETTERS  = 18,             // Bool - supports keyboard auto capitalization - letters
00294     CAP_INPUT_RETURN_KEY_DEFAULT    = 19,             // Bool - supports return key text default "return"     
00295     CAP_INPUT_RETURN_KEY_GO         = 20,             // Bool - supports return key text "go"                 
00296     CAP_INPUT_RETURN_KEY_GOOGLE     = 21,             // Bool - supports return key text "Google"             
00297     CAP_INPUT_RETURN_KEY_JOIN       = 22,             // Bool - supports return key text "Join"               
00298     CAP_INPUT_RETURN_KEY_NEXT       = 23,             // Bool - supports return key text "Next"               
00299     CAP_INPUT_RETURN_KEY_ROUTE      = 24,             // Bool - supports return key text "Route"              
00300     CAP_INPUT_RETURN_KEY_SEARCH     = 25,             // Bool - supports return key text "Search"             
00301     CAP_INPUT_RETURN_KEY_SEND       = 26,             // Bool - supports return key text "Send"               
00302     CAP_INPUT_RETURN_KEY_DONE       = 27,             // Bool - supports return key text "Done"               
00303     CAP_INPUT_RETURN_KEY            = 28              // Bool - supports return key changes                   
00304 };
00305 
00306 
00342 #ifdef CMPCOM
00343 [export, library_block]
00344 #endif
00345 enum CMP_CAP_ORIENTATION_KEY_ID
00346 {
00347     CAP_ORIENTATION_ENABLE          = 0,              // Bool - capability is enabled                             
00348     CAP_ORIENTATION_DEVICE          = 1,              // Bool - device support orientation changes                
00349     CAP_ORIENTATION_APPLICATION     = 2,              // Bool - device supports application-requested orientation changes 
00350     CAP_ORIENTATION_PORTRAIT        = 3,              // Bool - device supports portrait orientation              
00351     CAP_ORIENTATION_PORTRAIT_DOWN   = 4,              // Bool - device supports portrait down orientation         
00352     CAP_ORIENTATION_LANDSCAPE_LEFT  = 5,              // Bool - device supports landscape left orientation        
00353     CAP_ORIENTATION_LANDSCAPE_RIGHT = 6,              // Bool - device supports landscape right orientation       
00354     CAP_ORIENTATION_LOCK_UNLOCK     = 9,              // Bool - device supports locking and unlocking orientation 
00355     CAP_ORIENTATION_FOLLOW_SENSOR   = 10              // Bool - device supports follow sensor mode                
00356 };
00357 
00417 #ifdef CMPCOM
00418 [export, library_block]
00419 #endif
00420 enum CMP_CAP_DISPLAY_KEY_ID
00421 {
00422     CAP_DISPLAY_ENABLE              = 0,              // Bool - capability is enabled                 
00423     CAP_DISPLAY_RESOLUTION_FLAG     = 1,              // Bool - resolution for x and y valid          
00424     CAP_DISPLAY_COLOR_FLAG          = 2,              // Bool - color depth valid                     
00425     CAP_DISPLAY_PHYSICAL_FLAG       = 3,              // Bool - physical dimensions for x and y valid 
00426     CAP_DISPLAY_PPI_FLAG            = 4,              // Bool - points per inch valid                 
00427     CAP_DISPLAY_PPI_X_Y_FLAG        = 5,              // Bool - points per inch valid for x and y     
00428     CAP_DISPLAY_ORIENTATION_FLAG    = 6,              // Bool - orientation data valid                
00429     CAP_DISPLAY_METRICS             = 7,              // UINT16 - all metrics flags in one group      
00430     CAP_DISPLAY_WIDTH               = 8,              // UINT32 - width in pixels                     
00431     CAP_DISPLAY_HEIGHT              = 9,              // UINT32 - height in pixels                    
00432     CAP_DISPLAY_X_MILLI_INCHES      = 10,             // UINT32 - width in milliinches                
00433     CAP_DISPLAY_Y_MILLI_INCHES      = 11,             // UINT32 - height in milliinches               
00434     CAP_DISPLAY_PIXELS_PER_INCH     = 12,             // UINT32 - pixels per inch                     
00435     CAP_DISPLAY_X_PIXELS_PER_INCH   = 13,             // UINT32 - horizontal pixels per inch          
00436     CAP_DISPLAY_Y_PIXELS_PER_INCH   = 14,             // UINT32 - vertical pixels per inch            
00437     CAP_DISPLAY_INITIAL_ORIENTATION = 15,             // UINT16 - initial orientation position        
00438     CAP_DISPLAY_COLOR_DEPTH         = 16,             // UINT16 - color depth (color bits per pixel)  
00439 };
00440 
00463 #ifdef CMPCOM
00464 [export, library_block]
00465 #endif
00466 enum CMP_CAP_SCROLLMODES_KEY_ID
00467 {
00468     CAP_SCROLLMODES_ENABLE              = 0,              // Bool - capability is enabled             
00469     CAP_SCROLLMODES_MOUSEWHEEL_FLAG     = 1,              // Bool - mouse wheel emulation supported   
00470     CAP_SCROLLMODES_DRAG_FLAG           = 2,              // Bool - drag mode supported               
00471     CAP_SCROLLMODES_PAN_FLAG            = 3,              // Bool - pan mode supported                
00472     CAP_SCROLLMODES_DEFAULT_MODE        = 4               // UINT16 - default scroll mode             
00473 };
00474 
00504 #ifdef CMPCOM
00505 [export, library_block]
00506 #endif
00507 enum CMP_CAP_DEVICE_KEY_ID
00508 {
00509     CAP_DEVICE_ENABLE                   = 0,              // Bool - capability is enabled         
00510     CAP_DEVICE_OS                       = 1,              // UINT16 - device operating system     
00511     CAP_DEVICE_OS_VER_HIGH              = 2,              // UINT16 - os version high version     
00512     CAP_DEVICE_OS_VER_LOW               = 3,              // UINT16 - os version low version      
00513     CAP_DEVICE_OS_VER_MINOR             = 4,              // UINT16 - os version minor version    
00514     CAP_DEVICE_OS_VER_BUILD             = 5,              // UINT16 - os version build version    
00515     CAP_DEVICE_TYPE                     = 6,              // UINT16 - device type                 
00516 };
00517 
00529 #ifdef CMPCOM
00530 [export, library_block]
00531 #endif
00532 enum CMP_CAP_VIEWPORT_KEY_ID
00533 {
00534     CAP_VIEWPORT_ENABLE                  = 0,              // Bool - capability is enabled
00535 };
00536 
00547 #ifdef CMPCOM
00548 [export, library_block]
00549 #endif
00550 enum CMP_CAP_DYNAMIC_DISPLAY_KEY_ID
00551 {
00552     CAP_DYNAMIC_DISPLAY_ENABLE                  = 0,              // Bool - capability is enabled
00553 };
00554 
00568 #ifdef CMPCOM
00569 [export, library_block]
00570 #endif
00571 enum CMP_CAP_PICKER_CONTROL_KEY_ID
00572 {
00573     CAP_PICKER_CONTROL_ENABLE                  = 0,              // Bool - capability is enabled      
00574     CAP_PICKER_CONTROL_TITLE_FLAG              = 1,              // Bool - picker title is supported  
00575 };
00576 
00588 #ifdef CMPCOM
00589 [export, library_block]
00590 #endif
00591 enum CMP_CAP_PHONE_CALL_KEY_ID
00592 {
00593     CAP_PHONE_CALL_ENABLE                  = 0,              // Bool - capability is enabled  
00594 };
00595 
00606 #ifdef CMPCOM
00607 [export, library_block]
00608 #endif
00609 enum CMP_CAP_SMS_KEY_ID
00610 {
00611     CAP_SMS_ENABLE                  = 0,              // Bool - capability is enabled 
00612 };
00613 
00639 #ifdef CMPCOM
00640 [export, library_block]
00641 #endif
00642 enum CMP_CAP_NOTIFICATION_KEY_ID
00643 {
00644     CAP_NOTIFICATION_ENABLE         = 0,              // Bool - capability is enabled             
00645     CAP_NOTIFICATION_LIGHT          = 1,              // Bool - supports light notification       
00646     CAP_NOTIFICATION_VIBRATE        = 2,              // Bool - supports vibration                
00647     CAP_NOTIFICATION_AUDIO          = 3,              // Bool - supports audio notification       
00648     CAP_NOTIFICATION_TEXT           = 4,              // Bool - supports text notification        
00649 };
00650 
00665 #ifdef CMPCOM
00666 [export, library_block]
00667 #endif
00668 enum CMP_CAP_RECEIVER_CONTROLS_KEY_ID
00669 {
00670     CAP_RECEIVER_CONTROLS_ENABLE                = 0,              // Bool - capability is enabled                         
00671     CAP_RECEIVER_CONTROLS_DISABLE               = 1,              // Bool - receiver supports Enable/disable of controls  
00672 };
00673 
00687 #ifdef CMPCOM
00688 [export, library_block]
00689 #endif
00690 enum CMP_CAP_EVENT_FILTER_KEY_ID
00691 {
00692     CAP_EVENT_FILTER_ENABLE                     = 0,              // Bool - capability is enabled                 
00693     CAP_EVENT_FILTER_SUPPORT                    = 1,              // Bool - supports Enable/disable of events     
00694 };
00695 
00707 #ifdef CMPCOM
00708 [export, library_block]
00709 #endif
00710 enum CMP_CAP_VIRTUAL_DEVICE_KEY_ID
00711 {
00712     CAP_VIRTUAL_DEVICE_ENABLE                  = 0,              // Bool - capability is enabled                 
00713 };
00714 
00807 #ifdef CMPCOM
00808 [export, library_block]
00809 #endif
00810 enum CMP_CAP_CAPTURE_KEY_ID
00811 {
00812     CAP_CAPTURE_ENABLE                         = 0,              // Bool - capability is enabled
00813     CAP_CAPTURE_PICTURE                        = 1,              // Bool - supports picture capture
00814     CAP_CAPTURE_VIDEO                          = 2,              // Bool - supports video capture
00815     CAP_CAPTURE_AUDIO                          = 3,              // Bool - supports audio capture
00816     CAP_CAPTURE_AUDIO_SET_QUALITY              = 4,              // Bool - audio capture supports setting a custom quality
00817     CAP_CAPTURE_AUDIO_SET_DURATION             = 5,              // Bool - audio capture supports setting a duration limit
00818     CAP_CAPTURE_AUDIO_ENCODING_MPEG4           = 6,              // Bool - audio capture supports MPEG4 encoding
00819     CAP_CAPTURE_AUDIO_ENCODING_MP3             = 7,              // Bool - audio capture supports MP3 encoding
00820     CAP_CAPTURE_AUDIO_ENCODING_3GPP            = 8,              // Bool - audio capture supports 3GPP encoding
00821     CAP_CAPTURE_AUDIO_ENCODING_WAV             = 9,              // Bool - audio capture supports WAV encoding
00822     CAP_CAPTURE_AUDIO_ENCODING_AAC_ADTS        = 10,             // Bool - audio capture supports AAC ADTS encoding
00823     CAP_CAPTURE_AUDIO_ENCODING_AMR_NB          = 11,             // Bool - audio capture supports AMR narrow band encoding
00824     CAP_CAPTURE_AUDIO_ENCODING_AMR_WB          = 12,             // Bool - audio capture supports AMR wide band encoding
00825     CAP_CAPTURE_PICTURE_SET_QUALITY            = 13,             // Bool - picture capture supports setting a custom quality
00826     CAP_CAPTURE_PICTURE_SET_RESOLUTION         = 14,             // Bool - picture capture supports setting a custom resolution
00827     CAP_CAPTURE_PICTURE_SET_DEFAULT_CAMERA     = 15,             // Bool - picture capture supports setting the initial/default camera to use
00828     CAP_CAPTURE_PICTURE_CREATE_THUMBNAIL       = 16,             // Bool - picture capture supports generating a thumbnail
00829     CAP_CAPTURE_PICTURE_CUSTOM_THUMBNAIL       = 17,             // Bool - picture capture supports generating a non-default sized thumbnail
00830     CAP_CAPTURE_PICTURE_FORMAT_JPEG            = 18,             // Bool - picture capture supports JPEG encoding
00831     CAP_CAPTURE_PICTURE_FORMAT_PNG             = 19,             // Bool - picture capture supports PNG encoding
00832     CAP_CAPTURE_VIDEO_SET_QUALITY              = 20,             // Bool - video capture supports setting a custom quality
00833     CAP_CAPTURE_VIDEO_SET_RESOLUTION           = 21,             // Bool - video capture supports setting a custom resolution
00834     CAP_CAPTURE_VIDEO_SET_DEFAULT_CAMERA       = 22,             // Bool - video capture supports setting the initial/default camera to use
00835     CAP_CAPTURE_VIDEO_SET_DURATION             = 23,             // Bool - video capture supports setting a duration limit
00836     CAP_CAPTURE_VIDEO_ENCODING_MPEG4           = 24,             // Bool - video capture supports MPEG4 encoding
00837     CAP_CAPTURE_VIDEO_ENCODING_H264            = 25,             // Bool - video capture supports H264 encoding
00838     CAP_CAPTURE_VIDEO_ENCODING_H263            = 26,             // Bool - video capture supports H263 encoding
00839     CAP_CAPTURE_VIDEO_ENCODING_3GPP            = 27              // Bool - video capture supports 3GPP encoding
00840 };
00841 
00922 #ifdef CMPCOM
00923 [export, library_block]
00924 #endif
00925 enum CMP_CAP_DEVICE_DEFAULTS_KEY_ID
00926 {
00927     CAP_DEVICE_DEFAULTS_ENABLE                      = 0,              // Bool   - capability is enabled
00928     CAP_DEVICE_DEFAULTS_FLAGS                       = 1,              // UINT16 - Collection of flags for which defaults are available
00929     CAP_DEVICE_DEFAULTS_SCROLL_MODE                 = 2,              // UINT16 - Scroll mode default setting
00930     CAP_DEVICE_DEFAULTS_RECEIVER_CONTROLS           = 3,              // UINT16 - Receiver controls flags
00931     CAP_DEVICE_DEFAULTS_DEVICE_ORIENTATION          = 4,              // UINT16 - Device orientation
00932     CAP_DEVICE_DEFAULTS_APP_ORIENTATION             = 5,              // UINT16 - App orientation
00933     CAP_DEVICE_DEFAULTS_ORIENTATION_FLAGS           = 6,              // UINT16 - Orientation flags
00934     CAP_DEVICE_DEFAULTS_VIEWPORT_ORIGIN_X           = 7,              // UINT16 - Viewport origin X coordinate
00935     CAP_DEVICE_DEFAULTS_VIEWPORT_ORIGIN_Y           = 8,              // UINT16 - Viewport origin Y coordinate
00936     CAP_DEVICE_DEFAULTS_VIEWPORT_FLAGS              = 9,              // UINT16 - flags specify which fields are used (zoom factor, server viewport, client viewport)
00937     CAP_DEVICE_DEFAULTS_ZOOM_FACTOR                 = 10,             // UINT16 - Zoom factor
00938     CAP_DEVICE_DEFAULTS_SERVER_VIEWPORT_X           = 11,             // UINT32 - Server Viewport X coordinate
00939     CAP_DEVICE_DEFAULTS_SERVER_VIEWPORT_Y           = 12,             // UINT32 - Server Viewport Y coordinate
00940     CAP_DEVICE_DEFAULTS_SERVER_VIEWPORT_WIDTH       = 13,             // UINT32 - Server Viewport Width
00941     CAP_DEVICE_DEFAULTS_SERVER_VIEWPORT_HEIGHT      = 14,             // UINT32 - Server Viewport Height
00942     CAP_DEVICE_DEFAULTS_CLIENT_VIEWPORT_X           = 15,             // UINT32 - Client Viewport X coordinate
00943     CAP_DEVICE_DEFAULTS_CLIENT_VIEWPORT_Y           = 16,             // UINT32 - Client Viewport Y coordinate
00944     CAP_DEVICE_DEFAULTS_CLIENT_VIEWPORT_WIDTH       = 17,             // UINT32 - Client Viewport Width
00945     CAP_DEVICE_DEFAULTS_CLIENT_VIEWPORT_HEIGHT      = 18,             // UINT32 - Client Viewport Height
00946     CAP_DEVICE_DEFAULTS_KEYBOARD_TYPE               = 19,             // UINT16 - Keyboard type
00947     CAP_DEVICE_DEFAULTS_KEYBOARD_FLAGS              = 20,             // UINT16 - Keyboard flags
00948     CAP_DEVICE_DEFAULTS_KEYBOARD_AUTO_CAPS          = 21,             // UINT16 - Keyboard auto caps
00949     CAP_DEVICE_DEFAULTS_KEYBOARD_RETURN_KEY         = 22,             // UINT16 - Keyboard return key
00950     CAP_DEVICE_DEFAULTS_SUPPORTED_ORIENTATIONS      = 23,             // UINT16 - Supported orientations
00951 };
00952 
00976 #ifdef CMPCOM
00977 [export, library_block]
00978 #endif
00979 enum CMP_CAP_SUPPORTED_ORIENTATIONS_KEY_ID
00980 {
00981     CAP_SUPPORTED_ORIENTATIONS_ENABLE                  = 0,              // Bool - capability is enabled
00982     CAP_SUPPORTED_ORIENTATIONS_LANDSCAPE_LEFT          = 1,              // Bool - landscape left supported
00983     CAP_SUPPORTED_ORIENTATIONS_LANDSCAPE_RIGHT         = 2,              // Bool - landscape right supported
00984     CAP_SUPPORTED_ORIENTATIONS_PORTRAIT_UP             = 3,              // Bool - portrait up supported
00985     CAP_SUPPORTED_ORIENTATIONS_PORTRAIT_DOWN           = 4,              // Bool - portrait down supported
00986 };
00987 
00998 #ifdef CMPCOM
00999 [export, library_block]
01000 #endif
01001 enum CMP_CAP_FILENAME_NAMESPACE_KEY_ID
01002 {
01003     CAP_FILENAME_NAMESPACE_ENABLE                  = 0,              // Bool - capability is enabled
01004 };
01005 
01013 #define CMP_INPUT_DISPLAY_KEYBOARD_SUPPORT      0x0001
01014 
01022 #define CMP_INPUT_PHYSICAL_KEYBOARD_SUPPORT     0x0002
01023 
01031 #define CMP_INPUT_TRACKBALL_SUPPORT             0x0004
01032 
01040 #define CMP_INPUT_MOUSE_SUPPORT                 0x0008
01041 
01049 #define CMP_INPUT_ALL_TYPES                     0x000F
01050 
01058 #define CMP_KYBD_TYPE_PHYSICAL_SUPPORT          0x0001
01059 
01067 #define CMP_KYBD_TYPE_STANDARD_SUPPORT          0x0002
01068 
01076 #define CMP_KYBD_TYPE_NUMBER_PAD_SUPPORT            0x0004
01077 
01085 #define CMP_KYBD_TYPE_PHONE_PAD_SUPPORT         0x0008
01086 
01094 #define CMP_KYBD_TYPE_URL_SUPPORT                   0x0010
01095 
01103 #define CMP_KYBD_TYPE_EMAIL_SUPPORT                 0x0020
01104 
01112 #define CMP_KYBD_TYPE_PHONE_NAME_SUPPORT            0x0040
01113 
01121 #define CMP_KYBD_TYPE_NUMBERS_PUNC_SUPPORT          0x0080
01122 
01130 #define CMP_KYBD_TYPE_DECIMAL_POINT_SUPPORT         0x0100
01131 
01139 #define CMP_KYBD_ALL_TYPES                      0x01FF
01140 
01148 #define CMP_KYBD_HIDE_SUPPORT                   0x0001
01149 
01157 #define CMP_KYBD_AUTO_CORRECT_SUPPORT           0x0002
01158 
01166 #define CMP_KYBD_AUTO_CAPITAL_SUPPORT           0x0010
01167 
01175 #define CMP_KYBD_AUTO_CAPITAL_WORDS_SUPPORT         0x0020
01176 
01184 #define CMP_KYBD_AUTO_CAPITAL_SENTENCES_SUPPORT 0x0040
01185 
01193 #define CMP_KYBD_AUTO_CAPITAL_LETTERS_SUPPORT   0x0080
01194 
01202 #define CMP_KYBD_RETURN_KEY_TYPE_SUPPORT            0x0100
01203 
01211 #define CMP_KYBD_ALL_FEATURES                   0x01FF
01212 
01220 #define CMP_KYBD_RETURN_KEY_DEFAULT_SUPPORT         0x0001
01221 
01229 #define CMP_KYBD_RETURN_KEY_GO_SUPPORT          0x0002
01230 
01238 #define CMP_KYBD_RETURN_KEY_GOOGLE_SUPPORT          0x0004
01239 
01247 #define CMP_KYBD_RETURN_KEY_JOIN_SUPPORT            0x0008
01248 
01256 #define CMP_KYBD_RETURN_KEY_NEXT_SUPPORT            0x0010
01257 
01265 #define CMP_KYBD_RETURN_KEY_ROUTE_SUPPORT           0x0020
01266 
01274 #define CMP_KYBD_RETURN_KEY_SEARCH_SUPPORT          0x0040
01275 
01283 #define CMP_KYBD_RETURN_KEY_SEND_SUPPORT            0x0080
01284 
01292 #define CMP_KYBD_RETURN_KEY_DONE_SUPPORT            0x0100
01293 
01301 #define CMP_KYBD_ALL_RETURNKEY_TYPES            0x01FF
01302 
01310 #define CMP_DISPLAY_METRICS_ORIENTATION             0x0001
01311 
01319 #define CMP_DISPLAY_METRICS_PIXEL_RESOLUTION        0x0002
01320 
01328 #define CMP_DISPLAY_METRICS_COLOR_DEPTH             0x0004
01329 
01337 #define CMP_DISPLAY_METRICS_PHYSICAL_SIZE               0x0008
01338 
01346 #define CMP_DISPLAY_METRICS_PIXELS_PER_INCH             0x0010
01347 
01355 #define CMP_DISPLAY_METRICS_PIXELS_PER_INCH_X_Y     0x0020
01356 
01364 #define CMP_DISPLAY_METRICS_ALL_FIELDS              0x003F
01365 
01373 #define CMP_RECEIVER_CONTROLS_ALL_FLAGS             0x0001
01374 
01382 #define CMP_EVENT_FILTER_SUPPORT                    0x0001
01383 
01391 #define CMP_EVENT_FILTER_ALL_FLAGS                  CMP_EVENT_FILTER_SUPPORT
01392 
01393 
01401 #define CMP_BUTTON_BACK_SUPPORT                     0x0001
01402 
01410 #define CMP_BUTTON_SEARCH_SUPPORT                       0x0002
01411 
01419 #define CMP_BUTTON_HOME_SUPPORT                     0x0004
01420 
01428 #define CMP_BUTTON_MENU_SUPPORT                     0x0008
01429 
01437 #define CMP_BUTTON_MASK_ALL                         0x000F
01438 
01439 
01447 #define CMP_SCROLLMODE_MOUSEWHEEL_SUPPORT               0x0001
01448 
01456 #define CMP_SCROLLMODE_DRAG_SUPPORT                     0x0002
01457 
01465 #define CMP_SCROLLMODE_PAN_SUPPORT                      0x0004
01466 
01474 #define CMP_SCROLLMODE_ALL_SUPPORT                  0x0007
01475 
01476 
01484 #define CMP_ORIENTATION_DEVICE_SUPPORT              0x0001
01485 
01493 #define CMP_ORIENTATION_APPLICATION_SUPPORT             0x0002
01494 
01502 #define CMP_ORIENTATION_PORTRAIT_UP_SUPPORT             0x0004
01503 
01511 #define CMP_ORIENTATION_PORTRAIT_DOWN_SUPPORT       0x0008
01512 
01520 #define CMP_ORIENTATION_LANDSCAPE_LEFT_SUPPORT      0x0010
01521 
01529 #define CMP_ORIENTATION_LANDSCAPE_RIGHT_SUPPORT     0x0020
01530 
01538 #define CMP_ORIENTATION_LOCK_UNLOCK_SUPPORT             0x0100
01539 
01547 #define CMP_ORIENTATION_FOLLOW_SENSOR_SUPPORT       0x0200
01548 
01556 #define CMP_ORIENTATION_FEATURES_ALL                0x033F
01557 
01565 #define CMP_VIEWPORT_FLAG_SUPPORT       0x0001
01566 
01574 #define CMP_VIEWPORT_ALL_FLAGS          CMP_VIEWPORT_FLAG_SUPPORT
01575 
01576 
01584 #define CMP_VIRTUAL_DEVICE_SUPPORT      0x0001
01585 
01586 
01594 #define CMP_VIRTUAL_DEVICE_ALL_FLAGS    CMP_VIRTUAL_DEVICE_SUPPORT
01595 
01603 #define CMP_CAPTURE_PICTURE_SUPPORT             0x0001
01604 
01612 #define CMP_CAPTURE_VIDEO_SUPPORT               0x0002
01613 
01621 #define CMP_CAPTURE_AUDIO_SUPPORT               0x0004
01622 
01630 #define CMP_CAPTURE_ALL_FLAGS           (CMP_CAPTURE_PICTURE_SUPPORT | CMP_CAPTURE_VIDEO_SUPPORT | CMP_CAPTURE_AUDIO_SUPPORT)
01631 
01632 //
01633 // CAP_CAPTURE.AudioFlags flag values.
01634 //
01635 #define CMP_CAPTURE_AUDIO_SET_QUALITY       0x0001
01636 #define CMP_CAPTURE_AUDIO_SET_DURATION      0x0002
01637 #define CMP_CAPTURE_AUDIO_ALL               (CMP_CAPTURE_AUDIO_SET_QUALITY | CMP_CAPTURE_AUDIO_SET_DURATION)
01638 
01639 //
01640 // CAP_CAPTURE.AudioEncodingFlags flag values.
01641 //
01642 #define CMP_CAPTURE_AUDIO_ENCODING_MPEG4    0x0001
01643 #define CMP_CAPTURE_AUDIO_ENCODING_MP3      0x0002
01644 #define CMP_CAPTURE_AUDIO_ENCODING_3GPP     0x0004
01645 #define CMP_CAPTURE_AUDIO_ENCODING_WAV      0x0008
01646 #define CMP_CAPTURE_AUDIO_ENCODING_AAC_ADTS 0x0010
01647 #define CMP_CAPTURE_AUDIO_ENCODING_AMR_NB   0x0020
01648 #define CMP_CAPTURE_AUDIO_ENCODING_AMR_WB   0x0040
01649 #define CMP_CAPTURE_AUDIO_ENCODING_ALL      (CMP_CAPTURE_AUDIO_ENCODING_MPEG4 | CMP_CAPTURE_AUDIO_ENCODING_MP3 | CMP_CAPTURE_AUDIO_ENCODING_3GPP | CMP_CAPTURE_AUDIO_ENCODING_WAV | CMP_CAPTURE_AUDIO_ENCODING_AAC_ADTS | CMP_CAPTURE_AUDIO_ENCODING_AMR_NB | CMP_CAPTURE_AUDIO_ENCODING_AMR_WB)
01650 
01651 //
01652 // CAP_CAPTURE.PictureFlags flag values.
01653 //
01654 #define CMP_CAPTURE_PICTURE_SET_QUALITY          0x0001
01655 #define CMP_CAPTURE_PICTURE_SET_RESOLUTION       0x0002
01656 #define CMP_CAPTURE_PICTURE_SET_DEFAULT_CAMERA   0x0004
01657 #define CMP_CAPTURE_PICTURE_CREATE_THUMBNAIL     0x0008
01658 #define CMP_CAPTURE_PICTURE_CUSTOM_THUMBNAIL     0x0010
01659 #define CMP_CAPTURE_PICTURE_ALL                  (CMP_CAPTURE_PICTURE_SET_QUALITY | CMP_CAPTURE_PICTURE_SET_RESOLUTION | CMP_CAPTURE_PICTURE_SET_DEFAULT_CAMERA | CMP_CAPTURE_PICTURE_CREATE_THUMBNAIL | CMP_CAPTURE_PICTURE_CUSTOM_THUMBNAIL)
01660 
01661 //
01662 // CAP_CAPTURE.PictureEncodingFlags flag values.
01663 //
01664 #define CMP_CAPTURE_PICTURE_FORMAT_JPEG          0x0001
01665 #define CMP_CAPTURE_PICTURE_FORMAT_PNG           0x0002
01666 #define CMP_CAPTURE_PICTURE_FORMAT_ALL           (CMP_CAPTURE_PICTURE_FORMAT_JPEG | CMP_CAPTURE_PICTURE_FORMAT_PNG)
01667 
01668 //
01669 // CAP_CAPTURE.VideoFlags flag values.
01670 //
01671 #define CMP_CAPTURE_VIDEO_SET_QUALITY          0x0001
01672 #define CMP_CAPTURE_VIDEO_SET_RESOLUTION       0x0002
01673 #define CMP_CAPTURE_VIDEO_SET_DEFAULT_CAMERA   0x0004
01674 #define CMP_CAPTURE_VIDEO_SET_DURATION         0x0008
01675 #define CMP_CAPTURE_VIDEO_ALL                  (CMP_CAPTURE_VIDEO_SET_QUALITY | CMP_CAPTURE_VIDEO_SET_RESOLUTION | CMP_CAPTURE_VIDEO_SET_DEFAULT_CAMERA | CMP_CAPTURE_VIDEO_SET_DURATION)
01676 
01677 //
01678 // CAP_CAPTURE.VideoEncodingFlags flag values.
01679 //
01680 #define CMP_CAPTURE_VIDEO_ENCODING_MPEG4       0x0001
01681 #define CMP_CAPTURE_VIDEO_ENCODING_H264        0x0002
01682 #define CMP_CAPTURE_VIDEO_ENCODING_H263        0x0004
01683 #define CMP_CAPTURE_VIDEO_ENCODING_3GPP        0x0008
01684 #define CMP_CAPTURE_VIDEO_ENCODING_ALL         (CMP_CAPTURE_VIDEO_ENCODING_MPEG4 | CMP_CAPTURE_VIDEO_ENCODING_H264 | CMP_CAPTURE_VIDEO_ENCODING_H263 | CMP_CAPTURE_VIDEO_ENCODING_3GPP)
01685 
01686 
01687 // used with DEVICE_DEFAULTS to determine which fields are supported
01688 #define CMP_RECEIVER_CONTROL_FIELD_VALID        0x0001
01689 #define CMP_SCROLL_MODE_FIELD_VALID             0x0002
01690 #define CMP_ORIENTATION_FIELD_VALID             0x0004
01691 #define CMP_VIEWPORT_ORIGIN_FIELD_VALID         0x0008
01692 #define CMP_VIEWPORT_FIELD_VALID                0x0010
01693 #define CMP_KEYBOARD_FIELD_VALID                0x0020
01694 #define CMP_SUPPORTED_ORIENTATIONS_FIELD_VALID  0x0080
01695 
01696 #ifdef CMPCOM
01697 [cpp_quote("#define CMP_CONTROLS_FLAGS_ENABLED 0x0001")];
01698 
01699 [cpp_quote("#define CMP_EVENT_FILTER_DISABLE_NOTIFICATION   0x0001")];
01700 [cpp_quote("#define CMP_EVENT_FILTER_ENABLE_NOTIFICATION    0x0000")];
01701 #endif 
01702 
01703 
01704 // only use the following block of typedefs to keep C enumeration references the same as C++
01705 // do not let doxygen pick this up 
01709 #ifndef __cplusplus
01710 typedef enum CMP_CAP_BUTTON_KEY_ID                              CMP_CAP_BUTTON_KEY_ID;
01711 typedef enum CMP_CAP_DEVICE_KEY_ID                              CMP_CAP_DEVICE_KEY_ID;
01712 typedef enum CMP_CAP_DISPLAY_KEY_ID                             CMP_CAP_DISPLAY_KEY_ID;
01713 typedef enum CMP_CAP_DYNAMIC_DISPLAY_KEY_ID             CMP_CAP_DYNAMIC_DISPLAY_KEY_ID;
01714 typedef enum CMP_CAP_EVENT_FILTER_KEY_ID                CMP_CAP_EVENT_FILTER_KEY_ID;
01715 typedef enum CMP_CAP_ID                                                 CMP_CAP_ID;
01716 typedef enum CMP_CAP_INPUT_KEY_ID                               CMP_CAP_INPUT_KEY_ID;
01717 typedef enum CMP_CAP_NOTIFICATION_KEY_ID                CMP_CAP_NOTIFICATION_KEY_ID;
01718 typedef enum CMP_CAP_ORIENTATION_KEY_ID                 CMP_CAP_ORIENTATION_KEY_ID;
01719 typedef enum CMP_CAP_PHONE_CALL_KEY_ID                  CMP_CAP_PHONE_CALL_KEY_ID;
01720 typedef enum CMP_CAP_PICKER_CONTROL_KEY_ID              CMP_CAP_PICKER_CONTROL_KEY_ID;
01721 typedef enum CMP_CAP_RECEIVER_CONTROLS_KEY_ID   CMP_CAP_RECEIVER_CONTROLS_KEY_ID;
01722 typedef enum CMP_CAP_SCROLLMODES_KEY_ID                 CMP_CAP_SCROLLMODES_KEY_ID;
01723 typedef enum CMP_CAP_SMS_KEY_ID                                 CMP_CAP_SMS_KEY_ID;
01724 typedef enum CMP_CAP_TAKE_PICTURE_KEY_ID                CMP_CAP_TAKE_PICTURE_KEY_ID;
01725 typedef enum CMP_CAP_VIEWPORT_KEY_ID                    CMP_CAP_VIEWPORT_KEY_ID;
01726 
01727 typedef enum CMP_CAP_VIRTUAL_DEVICE_KEY_ID          CMP_CAP_VIRTUAL_DEVICE_KEY_ID;
01728 typedef enum CMP_CAP_CAPTURE_KEY_ID                 CMP_CAP_CAPTURE_KEY_ID;
01729 typedef enum CMP_CAP_DEVICE_DEFAULTS_KEY_ID         CMP_CAP_DEVICE_DEFAULTS_KEY_ID;
01730 typedef enum CMP_CAP_SUPPORTED_ORIENTATIONS_KEY_ID  CMP_CAP_SUPPORTED_ORIENTATIONS_KEY_ID;
01731 typedef enum CMP_CAP_FILENAME_NAMESPACE_KEY_ID      CMP_CAP_FILENAME_NAMESPACE_KEY_ID;
01732 #endif
01733 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Events Defines