Module: Ritsu::SrcFiles::AddQtHeaderFile

Included in:
Project, AddQtUnit, Target
Defined in:
lib/ritsu/ext/qt/src_files/header_file.rb

Instance Method Summary collapse

Instance Method Details

#add_qt_header_file(path, options = {}) ⇒ Object



20
21
22
23
# File 'lib/ritsu/ext/qt/src_files/header_file.rb', line 20

def add_qt_header_file(path, options={})
  src_path = compute_src_path(path, options)
  HeaderFile.new(src_path, self, :qt_header_file=>true)
end

#add_qt_header_files(*paths) ⇒ Object



25
26
27
28
29
# File 'lib/ritsu/ext/qt/src_files/header_file.rb', line 25

def add_qt_header_files(*paths)
  paths.each do |path|
    add_qt_header_file(path)
  end
end