diff options
Diffstat (limited to 'cpp/src/IceBT/Instance.h')
-rw-r--r-- | cpp/src/IceBT/Instance.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/cpp/src/IceBT/Instance.h b/cpp/src/IceBT/Instance.h new file mode 100644 index 00000000000..dd385ac7561 --- /dev/null +++ b/cpp/src/IceBT/Instance.h @@ -0,0 +1,41 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2015 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_BT_INSTANCE_H +#define ICE_BT_INSTANCE_H + +#include <IceBT/InstanceF.h> +#include <IceBT/EngineF.h> +#include <Ice/ProtocolInstance.h> + +namespace IceBT +{ + +class Instance : public IceInternal::ProtocolInstance +{ +public: + + Instance(const EnginePtr&, Ice::Short, const std::string&); + virtual ~Instance(); + + EnginePtr engine() const + { + return _engine; + } + + bool initialized() const; + +private: + + const EnginePtr _engine; +}; + +} + +#endif |