blob: 4902ab91c40c220a7966dd18b1fcb831d6ee64ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file Widget_Part_Factory.h
*
* $Id$
*
* @author Christopher Kohlhoff <chris@kohlhoff.com>
*/
//=============================================================================
#ifndef WIDGET_PART_FACTORY_H
#define WIDGET_PART_FACTORY_H
#include "Widget_Part.h"
#include "Widget.h"
/**
* @class Widget_Part_Factory
*
* @brief Used to create Widget_Part instances.
*/
class Widget_Part_Factory
{
public:
/// Create an instance of a widget part. Ownership of the newly created
/// object is transferred to the caller.
static Widget_Part *create_widget_part (Widget *owner, const char *name, int size);
};
#endif /* WIDGET_PART_FACTORY_H */
|