diff include/utils.hpp @ 1014:026f6b3b122c

Moving pull request2
author Wendlasida
date Fri, 01 Jun 2018 17:32:52 -0400
parents 6c5ce3ec497e
children
line wrap: on
line diff
--- a/include/utils.hpp	Fri Jun 01 17:29:01 2018 -0400
+++ b/include/utils.hpp	Fri Jun 01 17:32:52 2018 -0400
@@ -18,6 +18,9 @@
  * Warning: returns an empty string if all the lines to the end of the file are comments. */
 std::string getlineComment(std::ifstream& f);
 
+/** Get relative filename if not absolute */
+std::string getRelativeFilename(const std::string& parentDirname, const std::string& filename);
+
 /** Converts a string to an integer. */
 int toInt(const std::string& s);