From 6866019fdec1c345d4f626861c640122a90e0ce8 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 18 Jan 2010 03:27:27 +0100 Subject: added functions for parsing float, int and bool headers --- src/base/song.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/base/song.hpp') diff --git a/src/base/song.hpp b/src/base/song.hpp index 91d22742..47f2d3a4 100644 --- a/src/base/song.hpp +++ b/src/base/song.hpp @@ -80,6 +80,9 @@ namespace usdx std::map custom_header_tags; std::string get_header_tag(const std::string& tag, const bool required = false); + float get_header_tag_float(const std::string& tag, const bool required = false); + int get_header_tag_int(const std::string& tag, const bool required = false); + bool get_header_tag_bool(const std::string& tag, const bool required = false); LyricLine* get_last_lyric_line(void); LyricLine* create_new_lyric_line(int start); -- cgit v1.2.3