blob: 84916bacf753562b802939aea5a7c62e49a5344b (
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
48
49
50
51
52
53
54
|
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
#ifndef ICESTORM_SERVICE_H
#define ICESTORM_SERVICE_H
#include <IceBox/IceBox.h>
#include <IceStorm/IceStorm.h>
//
// Automatically link with IceStormService[D].lib
//
#if !defined(ICE_BUILDING_ICE_STORM_SERVICE) && defined(ICESTORM_SERVICE_API_EXPORTS)
# define ICE_BUILDING_ICE_STORM_SERVICE
#endif
#if defined(_MSC_VER) && !defined(ICE_BUILDING_ICE_STORM_SERVICE)
# pragma comment(lib, ICE_LIBNAME("IceStormService"))
#endif
// These IceStorm APIs are exported because they are used by IceGrid
#ifndef ICESTORM_SERVICE_API
# if defined(ICE_STATIC_LIBS)
# define ICESTORM_SERVICE_API /**/
# elif defined(ICESTORM_SERVICE_API_EXPORTS)
# define ICESTORM_SERVICE_API ICE_DECLSPEC_EXPORT
# else
# define ICESTORM_SERVICE_API ICE_DECLSPEC_IMPORT
# endif
#endif
// This API is internal to Ice, and should not be used by external applications.
namespace IceStormInternal
{
class Service : public IceBox::Service
{
public:
ICESTORM_SERVICE_API static std::shared_ptr<Service> create(const std::shared_ptr<Ice::Communicator>&,
const std::shared_ptr<Ice::ObjectAdapter>&,
const std::shared_ptr<Ice::ObjectAdapter>&,
const std::string&,
const Ice::Identity&,
const std::string&);
ICESTORM_SERVICE_API virtual std::shared_ptr<IceStorm::TopicManagerPrx> getTopicManager() const = 0;
};
};
#endif
|