// SuperTux - Add-on
// Copyright (C) 2007 Christoph Sommer <christoph.sommer@2007.expires.deltadevelopment.de>
+// 2014 Ingo Ruhnke <grumbel@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
lisp.get("title", addon->m_title);
lisp.get("author", addon->m_author);
lisp.get("license", addon->m_license);
- lisp.get("http-url", addon->m_http_url);
+ lisp.get("url", addon->m_url);
lisp.get("md5", addon->m_md5);
return addon;
m_title(),
m_author(),
m_license(),
- m_http_url(),
+ m_url(),
m_md5(),
m_install_filename(),
m_enabled(false)
}
void
-Addon::set_install_filename(const std::string& absolute_filename)
+Addon::set_install_filename(const std::string& absolute_filename, const std::string& md5)
{
m_install_filename = absolute_filename;
+ m_md5 = md5;
}
void