Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / Smart_Pointers / Widget_Part_Factory.h
blobef331347ee2fc0a6f3266654cdc12bde50442ae9
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file Widget_Part_Factory.h
6 * @author Christopher Kohlhoff <chris@kohlhoff.com>
7 */
8 //=============================================================================
10 #ifndef WIDGET_PART_FACTORY_H
11 #define WIDGET_PART_FACTORY_H
13 #include "Widget_Part.h"
14 #include "Widget.h"
16 /**
17 * @class Widget_Part_Factory
19 * @brief Used to create Widget_Part instances.
21 class Widget_Part_Factory
23 public:
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 */