-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77f38c0
commit 0f177b1
Showing
13 changed files
with
179 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// | ||
// Copyright (c) ZeroC, Inc. All rights reserved. | ||
// | ||
|
||
#ifndef ICE_LOCATOR_F_H | ||
#define ICE_LOCATOR_F_H | ||
|
||
// TODO: remove this include when we remove the C++98 mapping. | ||
#include <IceUtil/PushDisableWarnings.h> | ||
|
||
#include "Config.h" | ||
#include <memory> | ||
#include "ProxyF.h" | ||
#include "SharedPtr.h" | ||
|
||
#ifdef ICE_CPP11_MAPPING // C++11 mapping | ||
|
||
namespace Ice | ||
{ | ||
|
||
class Locator; | ||
class LocatorPrx; | ||
class LocatorRegistry; | ||
class LocatorRegistryPrx; | ||
|
||
using LocatorPtr = ::std::shared_ptr<Locator>; | ||
using LocatorPrxPtr = ::std::shared_ptr<LocatorPrx>; | ||
|
||
using LocatorRegistryPtr = ::std::shared_ptr<LocatorRegistry>; | ||
using LocatorRegistryPrxPtr = ::std::shared_ptr<LocatorRegistryPrx>; | ||
|
||
} | ||
|
||
#else // C++98 mapping | ||
|
||
namespace Ice | ||
{ | ||
class InputStream; | ||
} | ||
|
||
namespace IceProxy::Ice | ||
{ | ||
|
||
class Locator; | ||
/// \cond INTERNAL | ||
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Locator>&); | ||
ICE_API ::IceProxy::Ice::Object* upCast(Locator*); | ||
/// \endcond | ||
|
||
class LocatorRegistry; | ||
/// \cond INTERNAL | ||
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< LocatorRegistry>&); | ||
ICE_API ::IceProxy::Ice::Object* upCast(LocatorRegistry*); | ||
/// \endcond | ||
|
||
} | ||
|
||
namespace Ice | ||
{ | ||
|
||
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator> LocatorPrx; | ||
typedef LocatorPrx LocatorPrxPtr; | ||
|
||
class Locator; | ||
using LocatorPtr = ::Ice::SharedPtr< Locator>; | ||
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry> LocatorRegistryPrx; | ||
typedef LocatorRegistryPrx LocatorRegistryPrxPtr; | ||
|
||
class LocatorRegistry; | ||
using LocatorRegistryPtr = ::Ice::SharedPtr< LocatorRegistry>; | ||
|
||
} | ||
|
||
#endif | ||
|
||
// TODO: remove this include when we remove the C++98 mapping. | ||
#include <IceUtil/PopDisableWarnings.h> | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// | ||
// Copyright (c) ZeroC, Inc. All rights reserved. | ||
// | ||
|
||
#ifndef ICE_ROUTER_F_H | ||
#define ICE_ROUTER_F_H | ||
|
||
// TODO: remove this include when we remove the C++98 mapping. | ||
#include <IceUtil/PushDisableWarnings.h> | ||
|
||
#include "Config.h" | ||
#include <memory> | ||
#include "ProxyF.h" | ||
#include "SharedPtr.h" | ||
|
||
#ifdef ICE_CPP11_MAPPING // C++11 mapping | ||
|
||
namespace Ice | ||
{ | ||
|
||
class Router; | ||
class RouterPrx; | ||
|
||
using RouterPtr = ::std::shared_ptr<Router>; | ||
using RouterPrxPtr = ::std::shared_ptr<RouterPrx>; | ||
|
||
} | ||
|
||
#else // C++98 mapping | ||
|
||
namespace Ice | ||
{ | ||
class InputStream; | ||
} | ||
|
||
namespace IceProxy::Ice | ||
{ | ||
|
||
class Router; | ||
/// \cond INTERNAL | ||
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Router>&); | ||
ICE_API ::IceProxy::Ice::Object* upCast(Router*); | ||
/// \endcond | ||
|
||
} | ||
|
||
namespace Ice | ||
{ | ||
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Router> RouterPrx; | ||
typedef RouterPrx RouterPrxPtr; | ||
|
||
class Router; | ||
using RouterPtr = ::Ice::SharedPtr< Router>; | ||
|
||
} | ||
|
||
#endif | ||
|
||
// TODO: remove this include when we remove the C++98 mapping. | ||
#include <IceUtil/PopDisableWarnings.h> | ||
#endif |
Oops, something went wrong.