diff options
Diffstat (limited to 'TAO/examples/Quoter/Quoter_i.h')
-rw-r--r-- | TAO/examples/Quoter/Quoter_i.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/TAO/examples/Quoter/Quoter_i.h b/TAO/examples/Quoter/Quoter_i.h index aa835cad233..23573a1a648 100644 --- a/TAO/examples/Quoter/Quoter_i.h +++ b/TAO/examples/Quoter/Quoter_i.h @@ -4,17 +4,17 @@ // // = LIBRARY // TAO/tests/Quoter -// +// // = FILENAME // Quoter_i.h // // = AUTHOR -// Darrell Brunsch -// +// Darrell Brunsch +// // ============================================================================ -#if !defined (QUOTER_IMPL_H) -#define QUOTER_IMPL_H +#ifndef QUOTER_IMPL_H +#define QUOTER_IMPL_H #include "QuoterS.h" @@ -34,10 +34,10 @@ class Quoter_i: public POA_Stock::Quoter // Actual Quoter Implementation class. Returns a quoter for a given stock // and provides an example for the lifecycle functionality. public: - Quoter_i (const char *obj_name = "", - const unsigned char use_LifeCycle_Service = 0, - PortableServer::POA_ptr poa_ptr = 0); - // Constructor (use_LifeCycle_Service is 1 if the LifeCycle_Service should be used + Quoter_i (const char *obj_name = "", + const unsigned char use_LifeCycle_Service = 0, + PortableServer::POA_ptr poa_ptr = 0); + // Constructor (use_LifeCycle_Service is 1 if the LifeCycle_Service should be used // instead of the Quoter Generic_Factory ~Quoter_i (void); @@ -46,7 +46,7 @@ public: virtual CORBA::Long get_quote (const char *stock_name, CORBA::Environment &env); // Returns the current quote for the stock <stock_name> - + // = Lifecycle methods virtual CosLifeCycle::LifeCycleObject_ptr copy (CosLifeCycle::FactoryFinder_ptr there, @@ -62,9 +62,9 @@ public: virtual void remove (CORBA::Environment &_tao_environment); // Removes the object. -private: +private: unsigned char use_LifeCycle_Service_; - // This flag defines if a Generic Factory is used (0 by default) or + // This flag defines if a Generic Factory is used (0 by default) or // the more sophisticated LifeCycle Service (1) PortableServer::POA_var poa_var_; @@ -90,7 +90,7 @@ public: ~Quoter_Factory_i (void); // Destructor. - virtual Stock::Quoter_ptr create_quoter (const char *name, + virtual Stock::Quoter_ptr create_quoter (const char *name, CORBA::Environment &env); // Return the quoter by the id <name>. |