#![allow(dead_code)]
mod compile;
mod convert;
mod dump;
mod link;
mod optimize;
pub use compile::*;
pub use convert::*;
pub use dump::*;
pub use link::*;
pub use optimize::*;
use std::path::{Path, PathBuf};
pub struct Aapt2;
impl Aapt2 {
pub fn compile(self, o: &Path, manifest: &Path) -> Aapt2Compile {
Aapt2Compile::new(o, manifest)
}
pub fn link(self, inputs: &[PathBuf], o: &Path, manifest: &Path) -> Aapt2Link {
Aapt2Link::new(inputs, o, manifest)
}
pub fn dump(self, subcommand: SubCommand, filename_apk: &Path) -> Aapt2Dump {
Aapt2Dump::new(subcommand, filename_apk)
}
pub fn diff(self) {
todo!();
}
pub fn optimize(self) -> Aapt2Optimize {
Aapt2Optimize
}
pub fn convert(self) -> Aapt2Convert {
Aapt2Convert
}
pub fn version(self) -> String {
todo!();
}
pub fn daemon(self) {
todo!();
}
}