Pebble Foundation Classes  0.2.0
C++ for Pebble
pebble_worker_sdk_version.h
1 
6 #define _PBL_API_EXISTS_watch_info_get_model
7 #define _PBL_API_EXISTS_watch_info_get_firmware_version
8 #define _PBL_API_EXISTS_watch_info_get_color
9 #define _PBL_API_EXISTS_sin_lookup
10 #define _PBL_API_EXISTS_cos_lookup
11 #define _PBL_API_EXISTS_atan2_lookup
12 #define _PBL_API_EXISTS_clock_copy_time_string
13 #define _PBL_API_EXISTS_clock_is_24h_style
14 #define _PBL_API_EXISTS_clock_to_timestamp
15 #define _PBL_API_EXISTS_clock_is_timezone_set
16 #define _PBL_API_EXISTS_clock_get_timezone
17 #define _PBL_API_EXISTS_connection_service_peek_pebble_app_connection
18 #define _PBL_API_EXISTS_connection_service_peek_pebblekit_connection
19 #define _PBL_API_EXISTS_connection_service_subscribe
20 #define _PBL_API_EXISTS_connection_service_unsubscribe
21 #define _PBL_API_EXISTS_bluetooth_connection_service_peek
22 #define _PBL_API_EXISTS_bluetooth_connection_service_subscribe
23 #define _PBL_API_EXISTS_bluetooth_connection_service_unsubscribe
24 #define _PBL_API_EXISTS_battery_state_service_subscribe
25 #define _PBL_API_EXISTS_battery_state_service_unsubscribe
26 #define _PBL_API_EXISTS_battery_state_service_peek
27 #define _PBL_API_EXISTS_accel_service_peek
28 #define _PBL_API_EXISTS_accel_service_set_sampling_rate
29 #define _PBL_API_EXISTS_accel_service_set_samples_per_update
30 #define _PBL_API_EXISTS_accel_data_service_subscribe
31 #define _PBL_API_EXISTS_accel_data_service_unsubscribe
32 #define _PBL_API_EXISTS_accel_tap_service_subscribe
33 #define _PBL_API_EXISTS_accel_tap_service_unsubscribe
34 #define _PBL_API_EXISTS_accel_raw_data_service_subscribe
35 #define _PBL_API_EXISTS_compass_service_set_heading_filter
36 #define _PBL_API_EXISTS_compass_service_subscribe
37 #define _PBL_API_EXISTS_compass_service_unsubscribe
38 #define _PBL_API_EXISTS_compass_service_peek
39 #define _PBL_API_EXISTS_tick_timer_service_subscribe
40 #define _PBL_API_EXISTS_tick_timer_service_unsubscribe
41 #define _PBL_API_EXISTS_health_service_sum
42 #define _PBL_API_EXISTS_health_service_sum_today
43 #define _PBL_API_EXISTS_health_service_peek_current_value
44 #define _PBL_API_EXISTS_health_service_sum_averaged
45 #define _PBL_API_EXISTS_health_service_aggregate_averaged
46 #define _PBL_API_EXISTS_health_service_peek_current_activities
47 #define _PBL_API_EXISTS_health_service_activities_iterate
48 #define _PBL_API_EXISTS_health_service_metric_accessible
49 #define _PBL_API_EXISTS_health_service_metric_averaged_accessible
50 #define _PBL_API_EXISTS_health_service_metric_aggregate_averaged_accessible
51 #define _PBL_API_EXISTS_health_service_any_activity_accessible
52 #define _PBL_API_EXISTS_health_service_events_subscribe
53 #define _PBL_API_EXISTS_health_service_events_unsubscribe
54 #define _PBL_API_EXISTS_health_service_set_heart_rate_sample_period
55 #define _PBL_API_EXISTS_health_service_get_heart_rate_sample_period_expiration_sec
56 #define _PBL_API_EXISTS_health_service_register_metric_alert
57 #define _PBL_API_EXISTS_health_service_cancel_metric_alert
58 #define _PBL_API_EXISTS_health_service_get_minute_history
59 #define _PBL_API_EXISTS_health_service_get_measurement_system_for_display
60 #define _PBL_API_EXISTS_data_logging_create
61 #define _PBL_API_EXISTS_data_logging_finish
62 #define _PBL_API_EXISTS_data_logging_log
63 #define _PBL_API_EXISTS_uuid_equal
64 #define _PBL_API_EXISTS_uuid_to_string
65 #define _PBL_API_EXISTS_app_log
66 #define _PBL_API_EXISTS_dict_calc_buffer_size
67 #define _PBL_API_EXISTS_dict_size
68 #define _PBL_API_EXISTS_dict_write_begin
69 #define _PBL_API_EXISTS_dict_write_data
70 #define _PBL_API_EXISTS_dict_write_cstring
71 #define _PBL_API_EXISTS_dict_write_int
72 #define _PBL_API_EXISTS_dict_write_uint8
73 #define _PBL_API_EXISTS_dict_write_uint16
74 #define _PBL_API_EXISTS_dict_write_uint32
75 #define _PBL_API_EXISTS_dict_write_int8
76 #define _PBL_API_EXISTS_dict_write_int16
77 #define _PBL_API_EXISTS_dict_write_int32
78 #define _PBL_API_EXISTS_dict_write_end
79 #define _PBL_API_EXISTS_dict_read_begin_from_buffer
80 #define _PBL_API_EXISTS_dict_read_next
81 #define _PBL_API_EXISTS_dict_read_first
82 #define _PBL_API_EXISTS_dict_serialize_tuplets
83 #define _PBL_API_EXISTS_dict_serialize_tuplets_to_buffer
84 #define _PBL_API_EXISTS_dict_serialize_tuplets_to_buffer_with_iter
85 #define _PBL_API_EXISTS_dict_write_tuplet
86 #define _PBL_API_EXISTS_dict_calc_buffer_size_from_tuplets
87 #define _PBL_API_EXISTS_dict_merge
88 #define _PBL_API_EXISTS_dict_find
89 #define _PBL_API_EXISTS_worker_event_loop
90 #define _PBL_API_EXISTS_worker_launch_app
91 #define _PBL_API_EXISTS_app_worker_is_running
92 #define _PBL_API_EXISTS_app_worker_launch
93 #define _PBL_API_EXISTS_app_worker_kill
94 #define _PBL_API_EXISTS_app_worker_message_subscribe
95 #define _PBL_API_EXISTS_app_worker_message_unsubscribe
96 #define _PBL_API_EXISTS_app_worker_send_message
97 #define _PBL_API_EXISTS_psleep
98 #define _PBL_API_EXISTS_app_timer_register
99 #define _PBL_API_EXISTS_app_timer_reschedule
100 #define _PBL_API_EXISTS_app_timer_cancel
101 #define _PBL_API_EXISTS_heap_bytes_free
102 #define _PBL_API_EXISTS_heap_bytes_used
103 #define _PBL_API_EXISTS_memory_cache_flush
104 #define _PBL_API_EXISTS_persist_exists
105 #define _PBL_API_EXISTS_persist_get_size
106 #define _PBL_API_EXISTS_persist_read_bool
107 #define _PBL_API_EXISTS_persist_read_int
108 #define _PBL_API_EXISTS_persist_read_data
109 #define _PBL_API_EXISTS_persist_read_string
110 #define _PBL_API_EXISTS_persist_write_bool
111 #define _PBL_API_EXISTS_persist_write_int
112 #define _PBL_API_EXISTS_persist_write_data
113 #define _PBL_API_EXISTS_persist_write_string
114 #define _PBL_API_EXISTS_persist_delete
115 #define _PBL_API_EXISTS_strftime
116 #define _PBL_API_EXISTS_localtime
117 #define _PBL_API_EXISTS_gmtime
118 #define _PBL_API_EXISTS_mktime
119 #define _PBL_API_EXISTS_time
120 #define _PBL_API_EXISTS_difftime
121 #define _PBL_API_EXISTS_time_ms
122 #define _PBL_API_EXISTS_time_start_of_today
123 
126 
129 
137 #define PBL_API_EXISTS(x) defined(_PBL_API_EXISTS_##x)
138 
140