diff options
author | Marc Laukien <marc@zeroc.com> | 2002-06-24 18:49:27 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-06-24 18:49:27 +0000 |
commit | 1cb9977463f5a832b3f6daea8a2322d38dbba423 (patch) | |
tree | d1ae4045c5fa9a7124201510df3ad5b7211788cb /cpp/demo/IceBox/hello/HelloServiceI.h | |
parent | Added checks to disallow definition of a name in a derived class/interface (diff) | |
download | ice-1cb9977463f5a832b3f6daea8a2322d38dbba423.tar.bz2 ice-1cb9977463f5a832b3f6daea8a2322d38dbba423.tar.xz ice-1cb9977463f5a832b3f6daea8a2322d38dbba423.zip |
unix format
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloServiceI.h')
-rw-r--r-- | cpp/demo/IceBox/hello/HelloServiceI.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/cpp/demo/IceBox/hello/HelloServiceI.h b/cpp/demo/IceBox/hello/HelloServiceI.h index 72d2a06f007..6d0601e3d31 100644 --- a/cpp/demo/IceBox/hello/HelloServiceI.h +++ b/cpp/demo/IceBox/hello/HelloServiceI.h @@ -1,43 +1,43 @@ -// **********************************************************************
-//
-// Copyright (c) 2002
-// MutableRealms, Inc.
-// Huntsville, AL, USA
-//
-// All Rights Reserved
-//
-// **********************************************************************
-
-#ifndef HELLO_SERVICE_I_H
-#define HELLO_SERVICE_I_H
-
-#include <IceBox/IceBox.h>
-
-#if defined(_WIN32)
-# define HELLO_API __declspec(dllexport)
-#else
-# define HELLO_API /**/
-#endif
-
-class HELLO_API HelloServiceI : public ::IceBox::Service
-{
-public:
-
- HelloServiceI();
- virtual ~HelloServiceI();
-
- virtual void init(const ::std::string&,
- const ::Ice::CommunicatorPtr&,
- const ::Ice::PropertiesPtr&,
- const ::Ice::StringSeq&);
-
- virtual void start();
-
- virtual void stop();
-
-private:
-
- ::Ice::ObjectAdapterPtr _adapter;
-};
-
-#endif
+// ********************************************************************** +// +// Copyright (c) 2002 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#ifndef HELLO_SERVICE_I_H +#define HELLO_SERVICE_I_H + +#include <IceBox/IceBox.h> + +#if defined(_WIN32) +# define HELLO_API __declspec(dllexport) +#else +# define HELLO_API /**/ +#endif + +class HELLO_API HelloServiceI : public ::IceBox::Service +{ +public: + + HelloServiceI(); + virtual ~HelloServiceI(); + + virtual void init(const ::std::string&, + const ::Ice::CommunicatorPtr&, + const ::Ice::PropertiesPtr&, + const ::Ice::StringSeq&); + + virtual void start(); + + virtual void stop(); + +private: + + ::Ice::ObjectAdapterPtr _adapter; +}; + +#endif |