Commit 15561ef8 authored by Volker Krause's avatar Volker Krause
Browse files

Remove direct country table access API

Obsoleted by KI18nLocaleData's KCountry API.
parent ff903a85
Pipeline #102110 passed with stage
in 2 minutes and 34 seconds
......@@ -29,16 +29,6 @@ Country KnowledgeDb::countryForId(CountryId id)
return (*it);
}
const Country* KnowledgeDb::countriesBegin()
{
return std::begin(country_table);
}
const Country* KnowledgeDb::countriesEnd()
{
return std::end(country_table);
}
struct PowerPlugCompatMap {
PowerPlugType plug;
PowerPlugTypes sockets;
......
......@@ -73,11 +73,6 @@ struct Country
/** Look up country information by id. */
KITINERARY_EXPORT Country countryForId(CountryId id);
/** Iterator access for the country information table. */
KITINERARY_EXPORT const Country* countriesBegin();
/** Iterator access for the country information table. */
KITINERARY_EXPORT const Country* countriesEnd();
/** Look up country ISO code from a UIC country code. */
KITINERARY_EXPORT CountryId countryIdForUicCode(uint16_t uicCountryCode);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment