summaryrefslogtreecommitdiffstats
path: root/Source/cmFileAPI.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-06-07 15:01:43 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-07 15:08:38 (GMT)
commit6b815e58baa037335fb0008f6d0345fa29931e08 (patch)
tree078cb95d16977c02f3af896720e94a1b4882bed9 /Source/cmFileAPI.h
parenta4231943117f5ba3dd0fdc6c8b1824334162b69f (diff)
downloadCMake-6b815e58baa037335fb0008f6d0345fa29931e08.zip
CMake-6b815e58baa037335fb0008f6d0345fa29931e08.tar.gz
CMake-6b815e58baa037335fb0008f6d0345fa29931e08.tar.bz2
fileapi: Factor out helper to construct a version object
Diffstat (limited to 'Source/cmFileAPI.h')
-rw-r--r--Source/cmFileAPI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFileAPI.h b/Source/cmFileAPI.h
index 341b072..1315532 100644
--- a/Source/cmFileAPI.h
+++ b/Source/cmFileAPI.h
@@ -162,6 +162,8 @@ private:
static const char* ObjectKindName(ObjectKind kind);
static std::string ObjectName(Object const& o);
+ static Json::Value BuildVersion(unsigned int major, unsigned int minor);
+
Json::Value BuildObject(Object const& object);
ClientRequests BuildClientRequests(Json::Value const& requests);