#ifndef CONFIG_H #define CONFIG_H #include #include #include namespace Config { struct SoFile { std::string name; std::string storedPath; std::string originalPath; }; struct AppConfig { bool enabled = false; std::vector soFiles; }; struct ModuleConfig { bool enabled = true; bool hideInjection = false; std::unordered_map perAppConfig; }; // Read configuration from file ModuleConfig readConfig(); // Check if app is enabled for injection bool isAppEnabled(const std::string& packageName); // Get SO files for specific app std::vector getAppSoFiles(const std::string& packageName); // Get hide injection setting bool shouldHideInjection(); } #endif // CONFIG_H