blob: 13963a9ce1408d47e3328b2eb1056b5b7dfd368a (
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
|
// **********************************************************************
//
// Copyright (c) 2003-2014 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_STRING_CONVERTER_PLUGIN_H
#define ICE_STRING_CONVERTER_PLUGIN_H
#include <Ice/Config.h>
#include <Ice/CommunicatorF.h>
#include <Ice/Plugin.h>
#include <IceUtil/StringConverter.h>
#include <string>
namespace Ice
{
//
// A special plug-in that sets stringConverter and wstringConverter during
// construction (when the provided stringConverter resp. wstringConverter
// are not null). Both initialize and destroy are no-op. See Ice::InitializationData.
//
class ICE_API StringConverterPlugin : public Ice::Plugin
{
public:
StringConverterPlugin(const CommunicatorPtr&,
const IceUtil::StringConverterPtr&,
const IceUtil::WstringConverterPtr& = 0);
virtual void initialize();
virtual void destroy();
};
}
#endif
|