diff options
Diffstat (limited to 'cpp/src/IceGrid/Registry.h')
-rw-r--r-- | cpp/src/IceGrid/Registry.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/Registry.h b/cpp/src/IceGrid/Registry.h new file mode 100644 index 00000000000..93f7633bf8c --- /dev/null +++ b/cpp/src/IceGrid/Registry.h @@ -0,0 +1,35 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2005 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 ICE_GRID_REGISTRY_H +#define ICE_GRID_REGISTRY_H + +namespace IceGrid +{ + +class Registry : public IceUtil::Shared +{ +public: + + Registry(const Ice::CommunicatorPtr&); + ~Registry(); + + bool start(bool); + + virtual void shutdown(); + +private: + + Ice::CommunicatorPtr _communicator; +}; +typedef IceUtil::Handle<Registry> RegistryPtr; + +} + +#endif |