2 //=============================================================================
4 * @file Widget_Part_Factory.h
6 * @author Christopher Kohlhoff <chris@kohlhoff.com>
8 //=============================================================================
10 #ifndef WIDGET_PART_FACTORY_H
11 #define WIDGET_PART_FACTORY_H
13 #include "Widget_Part.h"
17 * @class Widget_Part_Factory
19 * @brief Used to create Widget_Part instances.
21 class Widget_Part_Factory
24 /// Create an instance of a widget part. Ownership of the newly created
25 /// object is transferred to the caller.
26 static Widget_Part
*create_widget_part (Widget
*owner
, const char *name
, int size
);
29 #endif /* WIDGET_PART_FACTORY_H */