1#!/usr/bin/env python 2# -*- coding: utf-8 -*- 3 4# Copyright (c) 2020-2021 Huawei Device Co., Ltd. 5# 6# HDF is dual licensed: you can use it either under the terms of 7# the GPL, or the BSD license, at your option. 8# See the LICENSE file in the root of this repository for complete details. 9 10class GetToolVersion(object): 11 def __init__(self): 12 self.hdf_version_major = 0 13 self.hdf_version_minor = 2 14 self.hdf_version_patch = 0 15 16 def get_version(self): 17 return "{}.{}.{}".format( 18 self.hdf_version_major, self.hdf_version_minor, self.hdf_version_patch) 19