59 utf8( wxString::Format(
_(
"source type '%s' is only available on Windows" ), wxS(
"access" ) ) ) };
67 utf8( wxString::Format(
_(
"unknown source type '%s'" ), wxString::FromUTF8(
source.type_name ) ) ) };
82 aColumns.push_back( column.
name );
static PROVIDER_STATE ProviderState()
Tells whether the ACE OLE DB provider is installed and loads.
static std::string ProviderMissingMessage()
The message for a source that needs the provider when ProviderState() is MISSING.
virtual std::optional< DB_TABLE_INFO > DescribeTable(const std::string &aTable)=0
virtual bool ListColumns(const std::string &aTable, std::vector< std::string > &aColumns)
Lists the column names of a table as the catalog reports them, empty if it has none,...
static DB_BACKEND_RESULT Create(const DATABASE_SOURCE &aSource, const wxString &aBasePath)
Builds the backend for a source.
virtual std::string GetLastError() const =0
@ INVALID_TYPE
The source type is not one KiCad knows.
@ PROVIDER_MISSING
The database engine needed to open the file is not installed.
@ NOT_SUPPORTED_ON_PLATFORM
No backend for the source type exists on this platform.
std::string utf8(const wxString &aText)
DATABASE_SOURCE Expanded(const wxString &aBaseDir) const
The outcome of building a backend; backend is null when failure and error say why.
A column as the backend reports it.