22#if defined(_WIN32) || (defined (UNX) && !defined(ANDROID) && !defined(IOS))
23#define HAVE_ODBC_SUPPORT
26#if defined(_WIN32) && defined(HAVE_ODBC_SUPPORT)
27#define HAVE_ODBC_ADMINISTRATION
30#include <rtl/ustring.hxx>
32#include <osl/module.h>
47#ifdef HAVE_ODBC_SUPPORT
63#ifdef HAVE_ODBC_SUPPORT
66 bool isLoaded()
const {
return false; }
73 oslGenericFunction
loadSymbol(
const char* _pFunctionName);
76 bool load(
const char* _pLibPath);
86#ifdef HAVE_ODBC_ADMINISTRATION
87class ProcessTerminationWait;
90 std::unique_ptr< ProcessTerminationWait > m_pProcessWait;
97 bool manageDataSources_async();
98 bool isRunning()
const;
99 void disableCallback();
100 void receivedCallback();
void freeEnv()
free any allocated ODBC environment
void unload()
unload the lib
std::unique_ptr< OdbcTypesImpl > m_pImpl
const OUString & getLibraryName() const
void getDatasourceNames(std::set< OUString > &_rNames)
oslGenericFunction loadSymbol(const char *_pFunctionName)
oslGenericFunction m_pDataSources
bool allocEnv()
ensure that an ODBC environment is allocated
oslGenericFunction m_pFreeHandle
bool load(const char *_pLibPath)
load the lib
oslGenericFunction m_pAllocHandle
oslGenericFunction m_pSetEnvAttr