1 #ifndef DEFS_H_ 2 #define DEFS_H_ 3 4 #include <bluetooth/LocalDevice.h> 5 6 #include <bluetoothserver_p.h> 7 8 9 #define APPLY_SETTINGS 'aply' 10 #define REVERT_SETTINGS 'rvrt' 11 #define DEFAULT_SETTINGS 'dflt' 12 #define TRY_SETTINGS 'trys' 13 14 #define ATTRIBUTE_CHOSEN 'atch' 15 #define UPDATE_COLOR 'upcl' 16 #define DECORATOR_CHOSEN 'dcch' 17 #define UPDATE_DECORATOR 'updc' 18 #define UPDATE_COLOR_SET 'upcs' 19 20 #define SET_VISIBLE 'sVis' 21 #define SET_DISCOVERABLE 'sDis' 22 #define SET_AUTHENTICATION 'sAth' 23 24 #define SET_UI_COLORS 'suic' 25 #define PREFS_CHOSEN 'prch' 26 27 // user interface 28 const uint32 kBorderSpace = 10; 29 const uint32 kItemSpace = 7; 30 31 static const uint32 kMsgAddToRemoteList = 'aDdL'; 32 static const uint32 kMsgRefresh = 'rFLd'; 33 34 static const int32 kMsgSetConnectionPolicy = 'sCpo'; 35 static const int32 kMsgSetDeviceClass = 'sDC0'; 36 static const int32 kMsgSetInquiryTime = 'afEa'; 37 static const int32 kMsgLocalSwitched = 'lDsW'; 38 39 extern LocalDevice* ActiveLocalDevice; 40 41 #endif 42