# Copyright (c) 2018(-2023) STMicroelectronics.
# All rights reserved.
#
# This file is part of the TouchGFX 4.23.0 distribution.
#
# This software is licensed under terms that can be found in the LICENSE file in
# the root directory of this software component.
# If no LICENSE file comes with this software, it is provided AS-IS.
#
###############################################################################/
class TypedTextDatabaseHpp < Template
  def input_path
    File.join(root_dir,'Templates','TypedTextDatabase.hpp.temp')
  end
  def output_path
    'include/texts/TypedTextDatabase.hpp'
  end
  def output_filename
    File.join(@output_directory, output_path)
  end
  def run
    if !File::exists?(output_filename)
      #generate TypedTextDatabase.hpp
      super
    end
  end
end
