// 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
std::string m_license;
// additional fields provided for addons from an addon repository
- std::string m_http_url;
+ std::string m_url;
std::string m_md5;
// fields filled by the AddonManager
public:
std::string get_id() const { return m_id; }
+ int get_version() const { return m_version; }
Type get_type() const { return m_type; }
std::string get_title() const { return m_title; }
std::string get_author() const { return m_author; }
std::string get_license() const { return m_license; }
- std::string get_http_url() const { return m_http_url; }
+ std::string get_url() const { return m_url; }
std::string get_md5() const { return m_md5; }
std::string get_filename() const;
bool is_installed() const;
bool is_enabled() const;
- void set_install_filename(const std::string& absolute_filename);
+ void set_install_filename(const std::string& absolute_filename, const std::string& md5);
void set_enabled(bool v);
private: