// ********************************************************************** // // Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** #ifndef HELLO_I_H #define HELLO_I_H #include #ifndef HELLO_API # define HELLO_API ICE_DECLSPEC_EXPORT #endif class HELLO_API HelloFactoryI : public Demo::HelloFactory, public IceUtil::Mutex { public: HelloFactoryI(); virtual Demo::HelloPrx create(const std::string&, const Ice::Current&); virtual Demo::HelloPrx find(const std::string&, const Ice::Current&) const; private: std::string _id; }; class HELLO_API HelloI : public Demo::Hello { public: HelloI(const std::string&); virtual void sayHello(const Ice::Current&) const; virtual void destroy(const Ice::Current&); private: Ice::CommunicatorPtr _communicator; }; #endif