1 #ifndef ANDROIDMANIFESTFILE_H_
2 #define ANDROIDMANIFESTFILE_H_
5 #include <msp/builder/filetarget.h>
7 class AndroidApplicationComponent;
11 Metadata file for an Android application.
13 class AndroidManifestFile: public FileTarget
16 SharedLibrary *native_lib = 0;
17 std::vector<std::string> permissions;
18 std::string orientation;
21 AndroidManifestFile(Builder &, const AndroidApplicationComponent &);
23 const char *get_type() const override { return "AndroidManifestFile"; }
25 void set_native_library(SharedLibrary *);
26 SharedLibrary *get_native_library() const { return native_lib; }
28 void add_permission(const std::string &);
29 void set_orientation(const std::string &);
30 const std::vector<std::string> &get_permissions() const { return permissions; }
31 const std::string &get_orientation() const { return orientation; }