diff options
Diffstat (limited to 'TAO/examples/Simple/grid/Grid_i.h')
-rw-r--r-- | TAO/examples/Simple/grid/Grid_i.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/TAO/examples/Simple/grid/Grid_i.h b/TAO/examples/Simple/grid/Grid_i.h index 77f08452574..2911b466cca 100644 --- a/TAO/examples/Simple/grid/Grid_i.h +++ b/TAO/examples/Simple/grid/Grid_i.h @@ -35,47 +35,42 @@ public: // Constructor Grid_i (CORBA::Short, - CORBA::Short - ACE_ENV_ARG_DECL_NOT_USED); + CORBA::Short); // Constructor. ~Grid_i (void); // Destructor - virtual CORBA::Short width (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + virtual CORBA::Short width (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Returns the width of the grid - virtual CORBA::Short height (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + virtual CORBA::Short height (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Returns the height of the grid - virtual void width (CORBA::Short - ACE_ENV_ARG_DECL_NOT_USED) + virtual void width (CORBA::Short) ACE_THROW_SPEC ((CORBA::SystemException)); // Sets the width of the grid. - virtual void height (CORBA::Short - ACE_ENV_ARG_DECL_NOT_USED) + virtual void height (CORBA::Short) ACE_THROW_SPEC ((CORBA::SystemException)); // Sets the height of the grid. virtual void set (CORBA::Short, CORBA::Short, - CORBA::Long - ACE_ENV_ARG_DECL_NOT_USED) + CORBA::Long) ACE_THROW_SPEC ((CORBA::SystemException, Grid::RANGE_ERROR)); // Sets the grid value. virtual CORBA::Long get (CORBA::Short, - CORBA::Short - ACE_ENV_ARG_DECL_NOT_USED) + CORBA::Short) ACE_THROW_SPEC ((CORBA::SystemException, Grid::RANGE_ERROR)); // Gets the grid value. - virtual void destroy (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + virtual void destroy (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Destroy the grid. @@ -104,12 +99,11 @@ public: // Destructor. virtual Grid_ptr make_grid (CORBA::Short, - CORBA::Short - ACE_ENV_ARG_DECL) + CORBA::Short) ACE_THROW_SPEC ((CORBA::SystemException)); // This function creates and returns a <Grid>. - virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL) + virtual void shutdown (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Shutdown the server. |