diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/boost/tools/bcp/bcp.hpp | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/boost/tools/bcp/bcp.hpp | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/boost/tools/bcp/bcp.hpp b/src/boost/tools/bcp/bcp.hpp new file mode 100644 index 000000000..bec63641c --- /dev/null +++ b/src/boost/tools/bcp/bcp.hpp @@ -0,0 +1,47 @@ +/* + * + * Copyright (c) 2003 Dr John Maddock + * Use, modification and distribution is subject to the + * Boost Software License, Version 1.0. (See accompanying file + * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + * + */ + +#include <boost/shared_ptr.hpp> + +#if defined(BOOST_FILESYSTEM_VERSION) && (BOOST_FILESYSTEM_VERSION != 3) +# error "This library must be built with Boost.Filesystem version 3" +#else +#define BOOST_FILESYSTEM_VERSION 3 +#endif + +class bcp_application; +typedef boost::shared_ptr<bcp_application> pbcp_application; + +class bcp_application +{ +public: + virtual ~bcp_application(); + + virtual void enable_list_mode() = 0; + virtual void enable_summary_list_mode() = 0; + virtual void enable_cvs_mode() = 0; + virtual void enable_svn_mode() = 0; + virtual void enable_unix_lines() = 0; + virtual void enable_scan_mode() = 0; + virtual void enable_license_mode() = 0; + virtual void enable_bsl_convert_mode() = 0; + virtual void enable_bsl_summary_mode() = 0; + virtual void set_boost_path(const char* p) = 0; + virtual void set_destination(const char* p) = 0; + virtual void add_module(const char* p) = 0; + virtual void set_namespace(const char* name) = 0; + virtual void set_namespace_alias(bool) = 0; + virtual void set_namespace_list(bool) = 0; + + virtual int run() = 0; + + static pbcp_application create(); +}; + + |