1 /* 2 * Copyright 2008, Oliver Tappe, zooey@hirschkaefer.de. 3 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. 4 * Distributed under the terms of the MIT License. 5 */ 6 #ifndef _BINARY_COMPATIBILITY_INTERFACE_H_ 7 #define _BINARY_COMPATIBILITY_INTERFACE_H_ 8 9 10 #include <binary_compatibility/Global.h> 11 12 13 struct perform_data_min_size { 14 BSize return_value; 15 }; 16 17 struct perform_data_max_size { 18 BSize return_value; 19 }; 20 21 struct perform_data_preferred_size { 22 BSize return_value; 23 }; 24 25 struct perform_data_layout_alignment { 26 BAlignment return_value; 27 }; 28 29 struct perform_data_has_height_for_width { 30 bool return_value; 31 }; 32 33 struct perform_data_get_height_for_width { 34 float width; 35 float min; 36 float max; 37 float preferred; 38 }; 39 40 struct perform_data_set_layout { 41 BLayout* layout; 42 }; 43 44 struct perform_data_invalidate_layout { 45 bool descendants; 46 }; 47 48 49 #endif /* _BINARY_COMPATIBILITY_INTERFACE_H_ */ 50