X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fandroidtools.h;h=b08691c1434ce011e40eee4004d3ca0699e91725;hb=82c7d6187fdaeaa1b9cfbd6637d9b047a78f17ec;hp=bef95f8abea4eecae75cd6a531957663217eb51e;hpb=fefa7d1e8ac40136b690e305ce9594af95c678b8;p=builder.git diff --git a/source/androidtools.h b/source/androidtools.h index bef95f8..b08691c 100644 --- a/source/androidtools.h +++ b/source/androidtools.h @@ -1,7 +1,7 @@ #ifndef ANDROIDTOOLS_H_ #define ANDROIDTOOLS_H_ -#include +#include #include #include "toolchain.h" @@ -13,14 +13,16 @@ class AndroidDevKit protected: Builder &builder; Msp::FS::Path root; - std::set supported_api_levels; + /* Needs refactoring if API levels go over 63. At present rate this will + take decades to occur. */ + uint64_t supported_api_levels; AndroidDevKit(Builder &, const std::string &, const Msp::FS::Path & = Msp::FS::Path()); ~AndroidDevKit() { } public: const Msp::FS::Path &get_root_dir() const { return root; } - const std::set &get_supported_api_levels() const { return supported_api_levels; } + uint64_t get_supported_api_levels() const { return supported_api_levels; } void select_api_level(unsigned); protected: virtual void init_api_level(unsigned) = 0;