summaryrefslogtreecommitdiff
path: root/ACE/TAO/docs/tutorials/Quoter/Simple/Persistent/Stock_Factory_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/docs/tutorials/Quoter/Simple/Persistent/Stock_Factory_i.h')
-rw-r--r--ACE/TAO/docs/tutorials/Quoter/Simple/Persistent/Stock_Factory_i.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/ACE/TAO/docs/tutorials/Quoter/Simple/Persistent/Stock_Factory_i.h b/ACE/TAO/docs/tutorials/Quoter/Simple/Persistent/Stock_Factory_i.h
new file mode 100644
index 00000000000..715c7a8c5f2
--- /dev/null
+++ b/ACE/TAO/docs/tutorials/Quoter/Simple/Persistent/Stock_Factory_i.h
@@ -0,0 +1,22 @@
+//
+// $Id$
+//
+
+#ifndef TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_FACTORY_I_H
+#define TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_FACTORY_I_H
+
+#include "Stock_i.h"
+
+class Quoter_Stock_Factory_i : public POA_Quoter::Stock_Factory {
+public:
+ Quoter_Stock_Factory_i ();
+
+ Quoter::Stock_ptr get_stock (const char *symbol);
+
+private:
+ Quoter_Stock_i rhat_;
+ Quoter_Stock_i msft_;
+};
+
+#endif /* TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_FACTORY_I_H */
+