summaryrefslogtreecommitdiff
path: root/ACE/examples/Smart_Pointers/Widget_Part_Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/Smart_Pointers/Widget_Part_Factory.cpp')
-rw-r--r--ACE/examples/Smart_Pointers/Widget_Part_Factory.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/ACE/examples/Smart_Pointers/Widget_Part_Factory.cpp b/ACE/examples/Smart_Pointers/Widget_Part_Factory.cpp
new file mode 100644
index 00000000000..501cdbc745c
--- /dev/null
+++ b/ACE/examples/Smart_Pointers/Widget_Part_Factory.cpp
@@ -0,0 +1,20 @@
+/* -*- C++ -*- */
+//=============================================================================
+/**
+ * @file Widget_Part_Factory.cpp
+ *
+ * $Id$
+ *
+ * @author Christopher Kohlhoff <chris@kohlhoff.com>
+ */
+//=============================================================================
+
+#include "Widget_Part_Factory.h"
+#include "Widget_Part_Impl.h"
+
+Widget_Part *Widget_Part_Factory::create_widget_part (Widget *owner,
+ const char* name,
+ int size)
+{
+ return new Widget_Part_Impl (owner, name, size);
+}