summaryrefslogtreecommitdiff
path: root/trunk/ACE/examples/Smart_Pointers/Widget_Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/ACE/examples/Smart_Pointers/Widget_Factory.cpp')
-rw-r--r--trunk/ACE/examples/Smart_Pointers/Widget_Factory.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/trunk/ACE/examples/Smart_Pointers/Widget_Factory.cpp b/trunk/ACE/examples/Smart_Pointers/Widget_Factory.cpp
new file mode 100644
index 00000000000..18fec0c23f4
--- /dev/null
+++ b/trunk/ACE/examples/Smart_Pointers/Widget_Factory.cpp
@@ -0,0 +1,18 @@
+/* -*- C++ -*- */
+//=============================================================================
+/**
+ * @file Widget_Factory.cpp
+ *
+ * $Id$
+ *
+ * @author Christopher Kohlhoff <chris@kohlhoff.com>
+ */
+//=============================================================================
+
+#include "Widget_Factory.h"
+#include "Widget_Impl.h"
+
+Widget *Widget_Factory::create_widget (void)
+{
+ return new Widget_Impl;
+}