blob: 86997552d7a21f2a6b6fb1bb5960571d38105fa8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
#ifndef LOCATOR_DISCOVERY_PLUGIN_I_H
#define LOCATOR_DISCOVERY_PLUGIN_I_H
#include <Ice/Config.h>
#include <Ice/Plugin.h>
#include <Ice/Locator.h>
#include <IceUtil/Time.h>
//
// Automatically link IceLocatorDiscovery[D|++11|++11D].lib with Visual C++
//
#if !defined(ICE_BUILDING_ICE_LOCATOR_DISCOVERY) && defined(ICE_LOCATOR_DISCOVERY_API_EXPORTS)
# define ICE_BUILDING_ICE_LOCATOR_DISCOVERY
#endif
#if defined(_MSC_VER) && !defined(ICE_BUILDING_ICE_LOCATOR_DISCOVERY)
# pragma comment(lib, ICE_LIBNAME("IceLocatorDiscovery"))
#endif
#ifndef ICE_LOCATOR_DISCOVERY_API
# if defined(ICE_STATIC_LIBS)
# define ICE_LOCATOR_DISCOVERY_API /**/
# elif defined(ICE_LOCATOR_DISCOVERY_API_EXPORTS)
# define ICE_LOCATOR_DISCOVERY_API ICE_DECLSPEC_EXPORT
# else
# define ICE_LOCATOR_DISCOVERY_API ICE_DECLSPEC_IMPORT
# endif
#endif
namespace IceLocatorDiscovery
{
class ICE_LOCATOR_DISCOVERY_API Plugin : public Ice::Plugin
{
public:
virtual std::vector<Ice::LocatorPrxPtr> getLocators(const std::string&, const IceUtil::Time&) const = 0;
};
ICE_DEFINE_PTR(PluginPtr, Plugin);
};
#endif
|