From 87318283eedef680356ef272a6af39ac3140d333 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 2 Feb 2020 22:34:56 +0100 Subject: Add projsync utility Fixes #1750 --- scripts/reference_exported_symbols.txt | 5 +++++ scripts/reformat_cpp.sh | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/reference_exported_symbols.txt b/scripts/reference_exported_symbols.txt index ee174da9..d624a893 100644 --- a/scripts/reference_exported_symbols.txt +++ b/scripts/reference_exported_symbols.txt @@ -281,6 +281,9 @@ osgeo::proj::datum::TemporalDatum::temporalOrigin() const osgeo::proj::datum::VerticalReferenceFrame::create(osgeo::proj::util::PropertyMap const&, osgeo::proj::util::optional const&, osgeo::proj::util::optional const&) osgeo::proj::datum::VerticalReferenceFrame::realizationMethod() const osgeo::proj::datum::VerticalReferenceFrame::~VerticalReferenceFrame() +osgeo::proj::File::~File() +osgeo::proj::FileManager::open(projCtx_t*, char const*, osgeo::proj::FileAccess) +osgeo::proj::File::read_line(unsigned long, bool&, bool&) osgeo::proj::GenericShiftGrid::~GenericShiftGrid() osgeo::proj::GenericShiftGrid::GenericShiftGrid(std::string const&, int, int, osgeo::proj::ExtentAndRes const&) osgeo::proj::GenericShiftGrid::gridAt(double, double) const @@ -742,6 +745,7 @@ pj_context_get_grid_cache_filename(projCtx_t*) pj_context_get_url_endpoint(projCtx_t*) pj_context_get_user_writable_directory(projCtx_t*, bool) pj_context_is_network_enabled(projCtx_t*) +pj_context_set_user_writable_directory(projCtx_t*, std::string const&) pj_ctx_alloc pj_ctx_fclose pj_ctx_fgets @@ -774,6 +778,7 @@ pj_get_datums_ref() pj_get_def pj_get_default_ctx pj_get_default_fileapi +pj_get_default_searchpaths(projCtx_t*) pj_get_errno_ref pj_get_release pj_get_spheroid_defn diff --git a/scripts/reformat_cpp.sh b/scripts/reformat_cpp.sh index 20c32b29..89b8e4e6 100755 --- a/scripts/reformat_cpp.sh +++ b/scripts/reformat_cpp.sh @@ -16,9 +16,11 @@ esac TOPDIR="$SCRIPT_DIR/.." for i in "$TOPDIR"/include/proj/*.hpp "$TOPDIR"/include/proj/internal/*.hpp \ - "$TOPDIR"/src/iso19111/*.cpp "$TOPDIR"/test/unit/*.cpp "$TOPDIR"/src/apps/projinfo.cpp \ + "$TOPDIR"/src/iso19111/*.cpp "$TOPDIR"/test/unit/*.cpp \ + "$TOPDIR"/src/apps/projinfo.cpp "$TOPDIR"/src/apps/projsync.cpp \ "$TOPDIR"/src/tracing.cpp "$TOPDIR"/src/grids.hpp "$TOPDIR"/src/grids.cpp \ "$TOPDIR"/src/filemanager.hpp "$TOPDIR"/src/filemanager.cpp \ + "$TOPDIR"/src/networkfilemanager.cpp \ "$TOPDIR"/src/sqlite3_utils.hpp "$TOPDIR"/src/sqlite3_utils.cpp ; do if ! echo "$i" | grep -q "lru_cache.hpp"; then "$SCRIPT_DIR"/reformat.sh "$i"; -- cgit v1.2.3