mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
add std::string SharedLibrary::prefix() for building library name that
complies with Cygwin standard. Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
@@ -118,6 +118,12 @@ public:
|
||||
/// specified in a call to load() or the
|
||||
/// constructor.
|
||||
|
||||
static std::string prefix();
|
||||
/// Returns the platform-specific filename prefix
|
||||
/// for shared libraries.
|
||||
/// Most platforms would return an empty string, but
|
||||
/// on Cygwin, the "cyg" prefix will be returned.
|
||||
|
||||
static std::string suffix();
|
||||
/// Returns the platform-specific filename suffix
|
||||
/// for shared libraries (including the period).
|
||||
|
||||
@@ -38,6 +38,7 @@ protected:
|
||||
bool isLoadedImpl() const;
|
||||
void* findSymbolImpl(const std::string& name);
|
||||
const std::string& getPathImpl() const;
|
||||
static std::string prefixImpl();
|
||||
static std::string suffixImpl();
|
||||
|
||||
private:
|
||||
|
||||
@@ -43,6 +43,7 @@ protected:
|
||||
bool isLoadedImpl() const;
|
||||
void* findSymbolImpl(const std::string& name);
|
||||
const std::string& getPathImpl() const;
|
||||
static std::string prefixImpl();
|
||||
static std::string suffixImpl();
|
||||
|
||||
private:
|
||||
|
||||
@@ -37,6 +37,7 @@ protected:
|
||||
bool isLoadedImpl() const;
|
||||
void* findSymbolImpl(const std::string& name);
|
||||
const std::string& getPathImpl() const;
|
||||
static std::string prefixImpl();
|
||||
static std::string suffixImpl();
|
||||
|
||||
private:
|
||||
|
||||
@@ -38,6 +38,7 @@ protected:
|
||||
bool isLoadedImpl() const;
|
||||
void* findSymbolImpl(const std::string& name);
|
||||
const std::string& getPathImpl() const;
|
||||
static std::string prefixImpl();
|
||||
static std::string suffixImpl();
|
||||
|
||||
private:
|
||||
|
||||
@@ -37,6 +37,7 @@ protected:
|
||||
bool isLoadedImpl() const;
|
||||
void* findSymbolImpl(const std::string& name);
|
||||
const std::string& getPathImpl() const;
|
||||
static std::string prefixImpl();
|
||||
static std::string suffixImpl();
|
||||
|
||||
private:
|
||||
|
||||
@@ -37,6 +37,7 @@ protected:
|
||||
bool isLoadedImpl() const;
|
||||
void* findSymbolImpl(const std::string& name);
|
||||
const std::string& getPathImpl() const;
|
||||
static std::string prefixImpl();
|
||||
static std::string suffixImpl();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user