2 //=============================================================================
4 * @file Widget_Part_Impl.h
6 * @author Christopher Kohlhoff <chris@kohlhoff.com>
8 //=============================================================================
10 #ifndef WIDGET_PART_IMPL_H
11 #define WIDGET_PART_IMPL_H
13 #include "Widget_Part.h"
17 * @class Widget_Part_Impl
19 * @brief An implementation of the Widget_Part interface.
21 class Widget_Part_Impl
: public Widget_Part
25 Widget_Part_Impl (Widget
*owner
, const char* name
, int size
);
28 virtual ~Widget_Part_Impl ();
30 /// Ask the part to print information about itself.
31 virtual void print_info ();
33 /// Ask the part to remove itself from the widget that contains it.
34 virtual void remove_from_owner ();
37 /// The widget that contains this part.
40 /// The name of this part.
43 /// The size of this part.
47 #endif /* WIDGET_PART_IMPL_H */