mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-14 15:05:35 +02:00
GH #1988: Remove OpenVMS support
This commit is contained in:
@@ -31,8 +31,6 @@
|
||||
#include "Poco/SharedLibrary_WIN32U.h"
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include "Poco/SharedLibrary_WIN32.h"
|
||||
#elif defined(POCO_OS_FAMILY_VMS)
|
||||
#include "Poco/SharedLibrary_VMS.h"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -40,7 +38,7 @@ namespace Poco {
|
||||
|
||||
|
||||
class Foundation_API SharedLibrary: private SharedLibraryImpl
|
||||
/// The SharedLibrary class dynamically
|
||||
/// The SharedLibrary class dynamically
|
||||
/// loads shared libraries at run-time.
|
||||
{
|
||||
public:
|
||||
@@ -52,7 +50,7 @@ public:
|
||||
///
|
||||
/// This flag is ignored on platforms that do not use dlopen().
|
||||
|
||||
SHLIB_LOCAL = 2
|
||||
SHLIB_LOCAL = 2
|
||||
/// On platforms that use dlopen(), use RTLD_LOCAL instead of RTLD_GLOBAL.
|
||||
///
|
||||
/// Note that if this flag is specified, RTTI (including dynamic_cast and throw) will
|
||||
@@ -61,17 +59,17 @@ public:
|
||||
///
|
||||
/// This flag is ignored on platforms that do not use dlopen().
|
||||
};
|
||||
|
||||
|
||||
SharedLibrary();
|
||||
/// Creates a SharedLibrary object.
|
||||
|
||||
|
||||
SharedLibrary(const std::string& path);
|
||||
/// Creates a SharedLibrary object and loads a library
|
||||
/// from the given path.
|
||||
|
||||
SharedLibrary(const std::string& path, int flags);
|
||||
/// Creates a SharedLibrary object and loads a library
|
||||
/// from the given path, using the given flags.
|
||||
/// from the given path, using the given flags.
|
||||
/// See the Flags enumeration for valid values.
|
||||
|
||||
virtual ~SharedLibrary();
|
||||
@@ -110,20 +108,20 @@ public:
|
||||
/// is the entry point of the function.
|
||||
/// Throws a NotFoundException if the symbol
|
||||
/// does not exist.
|
||||
|
||||
|
||||
const std::string& getPath() const;
|
||||
/// Returns the path of the library, as
|
||||
/// specified in a call to load() or the
|
||||
/// specified in a call to load() or the
|
||||
/// constructor.
|
||||
|
||||
|
||||
static std::string suffix();
|
||||
/// Returns the platform-specific filename suffix
|
||||
/// for shared libraries (including the period).
|
||||
/// In debug mode, the suffix also includes a
|
||||
/// "d" to specify the debug version of a library
|
||||
/// (e.g., "d.so", "d.dll") unless the library has
|
||||
/// (e.g., "d.so", "d.dll") unless the library has
|
||||
/// been compiled with -DPOCO_NO_SHARED_LIBRARY_DEBUG_SUFFIX.
|
||||
|
||||
|
||||
private:
|
||||
SharedLibrary(const SharedLibrary&);
|
||||
SharedLibrary& operator = (const SharedLibrary&);
|
||||
|
Reference in New Issue
Block a user