1 // SMRemoteTargetApp.h 2 3 #ifndef SM_REMOTE_TARGET_APP_H 4 #define SM_REMOTE_TARGET_APP_H 5 6 #include <Messenger.h> 7 8 enum { 9 SMRT_INIT = 'init', 10 SMRT_QUIT = 'quit', 11 SMRT_GET_READY = 'gtrd', 12 SMRT_DELIVERY_SUCCESS_REQUEST = 'dsrq', 13 SMRT_DELIVERY_SUCCESS_REPLY = 'dsre', 14 }; 15 16 struct smrt_init { 17 port_id port; 18 BMessenger messenger; 19 }; 20 21 struct smrt_delivery_success { 22 bool success; 23 }; 24 25 struct smrt_get_ready { 26 bigtime_t unblock_time; 27 bigtime_t reply_delay; 28 }; 29 30 #endif // SM_REMOTE_TARGET_APP_H 31