diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
commit | 63165b00e2d667e39e15cf084128d94a563d484e (patch) | |
tree | 6939cf1ed0a80ce8a3224d33f3d23c0e1b9a517f /TAO/examples/Persistent_Grid/Simple_util.h | |
parent | 6579bccb3a3f22f882ef908ad5f7e1a65b00b133 (diff) | |
download | ATCD-63165b00e2d667e39e15cf084128d94a563d484e.tar.gz |
Merged corba-env-clean branch.
Diffstat (limited to 'TAO/examples/Persistent_Grid/Simple_util.h')
-rw-r--r-- | TAO/examples/Persistent_Grid/Simple_util.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/TAO/examples/Persistent_Grid/Simple_util.h b/TAO/examples/Persistent_Grid/Simple_util.h index d0b689a685b..e95c2f3173c 100644 --- a/TAO/examples/Persistent_Grid/Simple_util.h +++ b/TAO/examples/Persistent_Grid/Simple_util.h @@ -46,8 +46,8 @@ public: int init (const char *servant_name, int argc, - char *argv[], - CORBA::Environment &env); + char *argv[] + TAO_ENV_ARG_DECL); // Initialize the Server state - parsing arguments and waiting. // interface_name is the name used to register the Servant. @@ -55,7 +55,7 @@ public: // After calling <init>, this method will register the server with // the TAO Naming Service using the servant_name passed to <init>. - int run (CORBA::Environment &env); + int run (TAO_ENV_SINGLE_ARG_DECL); // Run the orb. protected: @@ -120,7 +120,7 @@ public: void shutdown (int); // Fills in the shutdwon flag. - int obtain_initial_references (CORBA::Environment &); + int obtain_initial_references (TAO_ENV_SINGLE_ARG_DECL_NOT_USED); // Initialize naming service protected: @@ -142,9 +142,6 @@ protected: char *ior_; // IOR of the obj ref of the server. - CORBA::Environment env_; - // Environment variable. - int naming_; // Flag to use the naming service |