mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-31 23:50:56 +01:00
* fix(SharedLibrary): Missing DLLs not reported #5069 * fix(CMake): not producing proper binary names #5070 * fix(SharedLibrary): disable shared lib tests in static build #5069 * fix(misc): add pdjson links to gitignore, remove unused var in SharedLibrary, harden TaskManagerTest * fic(ci): separate oracle and sqlserver odbc (out of disk space) (#5075) * fic(ci): separate oracle and sqlserver odbc (out of disk space) * use oracle odbc driver * use oracle free * ad db user * postpone adding user after build * remove default tablespace (does not exist) * reinstate all ci jobs * add postgresl odb tests to ci * remove spurious syminks * fix gitignore (pdjson) * Remove VS projects #5076 * chore: revert leftover ODB IP address * fix(CodeQL): float comparison alerts * fix: compile errors * chore: upgrade asan to macos-14 (tryout) * fix(CI): Github macos-13 runner is deprecated, use macos-15-intel to run tests on Intel macOS --------- Co-authored-by: Matej Kenda <matejken@gmail.com>
55 lines
1.1 KiB
C++
55 lines
1.1 KiB
C++
//
|
|
// SharedLibrary_WIN32U.h
|
|
//
|
|
// Library: Foundation
|
|
// Package: SharedLibrary
|
|
// Module: SharedLibrary
|
|
//
|
|
// Definition of the SharedLibraryImpl class for Win32.
|
|
//
|
|
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef Foundation_SharedLibrary_WIN32U_INCLUDED
|
|
#define Foundation_SharedLibrary_WIN32U_INCLUDED
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
#include "Poco/Mutex.h"
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
class Foundation_API SharedLibraryImpl
|
|
{
|
|
protected:
|
|
SharedLibraryImpl();
|
|
~SharedLibraryImpl();
|
|
void loadImpl(const std::string& path, int flags);
|
|
void unloadImpl();
|
|
bool isLoadedImpl() const;
|
|
void* findSymbolImpl(const std::string& name);
|
|
const std::string& getPathImpl() const;
|
|
static std::string suffixImpl();
|
|
static bool setSearchPathImpl(const std::string& path);
|
|
static std::vector<std::string> findMissingDependenciesImpl(const std::string& path);
|
|
|
|
private:
|
|
std::string _path;
|
|
void* _handle;
|
|
static FastMutex _mutex;
|
|
};
|
|
|
|
|
|
} // namespace Poco
|
|
|
|
|
|
#endif // Foundation_SharedLibrary_WIN32U_INCLUDED
|