/* * Copyright 2008, Oliver Tappe, zooey@hirschkaefer.de. * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #ifndef _BINARY_COMPATIBILITY_INTERFACE_H_ #define _BINARY_COMPATIBILITY_INTERFACE_H_ #include struct perform_data_min_size { BSize return_value; }; struct perform_data_max_size { BSize return_value; }; struct perform_data_preferred_size { BSize return_value; }; struct perform_data_layout_alignment { BAlignment return_value; }; struct perform_data_has_height_for_width { bool return_value; }; struct perform_data_get_height_for_width { float width; float min; float max; float preferred; }; struct perform_data_set_layout { BLayout* layout; }; struct perform_data_invalidate_layout { bool descendants; }; #endif /* _BINARY_COMPATIBILITY_INTERFACE_H_ */