diff options
Diffstat (limited to 'TAO/examples/POA/Default_Servant/File_i.h')
-rw-r--r-- | TAO/examples/POA/Default_Servant/File_i.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/TAO/examples/POA/Default_Servant/File_i.h b/TAO/examples/POA/Default_Servant/File_i.h index ebe06fce403..1a6ba088622 100644 --- a/TAO/examples/POA/Default_Servant/File_i.h +++ b/TAO/examples/POA/Default_Servant/File_i.h @@ -34,35 +34,32 @@ public: ~Descriptor (void); // Destructor - PortableServer::POA_ptr _default_POA (ACE_ENV_SINGLE_ARG_DECL); + PortableServer::POA_ptr _default_POA (void); // Returns the default POA of this object - virtual CORBA::Long write (const File::Descriptor::DataBuffer &buffer - ACE_ENV_ARG_DECL) + virtual CORBA::Long write (const File::Descriptor::DataBuffer &buffer) ACE_THROW_SPEC ((CORBA::SystemException, File::IOError)); // write buffer to File corresponding to this Descriptor - virtual File::Descriptor::DataBuffer *read (CORBA::Long num_bytes - ACE_ENV_ARG_DECL) + virtual File::Descriptor::DataBuffer *read (CORBA::Long num_bytes) ACE_THROW_SPEC ((CORBA::SystemException, // Reads num_bytes from the file and returns it File::IOError)); virtual CORBA::ULong lseek (CORBA::ULong offset, - CORBA::Long whence - ACE_ENV_ARG_DECL) + CORBA::Long whence) ACE_THROW_SPEC ((CORBA::SystemException, File::IOError)); // seek to the offset in file from whence - virtual void destroy (ACE_ENV_SINGLE_ARG_DECL) + virtual void destroy (void) ACE_THROW_SPEC ((CORBA::SystemException)); // closes the file corresponding to the requested ObjectID private: - ACE_HANDLE fd (ACE_ENV_SINGLE_ARG_DECL); + ACE_HANDLE fd (void); // Extracts the ACE_HANDLE from the objectID PortableServer::POA_var poa_; @@ -80,12 +77,11 @@ public: ~System (void); //Destructor - PortableServer::POA_ptr _default_POA (ACE_ENV_SINGLE_ARG_DECL); + PortableServer::POA_ptr _default_POA (void); //Returns the default POA of this object File::Descriptor_ptr open (const char *file_name, - CORBA::Long flags - ACE_ENV_ARG_DECL) + CORBA::Long flags) ACE_THROW_SPEC ((CORBA::SystemException, File::IOError)); // Opens a file ,creates a Descriptor reference with the |