android_device_samsung_mond.../libsecnativefeature/SecNativeFeatureCppIf.h
Valera1978 12373b8956 init q
2019-12-05 12:22:07 +03:00

28 lines
725 B
C++

#ifndef SEC_NATIVE_FEATURE_CPPIF_H
#define SEC_NATIVE_FEATURE_CPPIF_H
#include <string>
#include <map>
class SecNativeFeature {
public:
bool getEnableStatus(const char* tag);
bool getEnableStatus(const char* tag, bool defaultValue);
const char* getString(const char* tag);
const char* getString(const char* tag, char* defaultValue);
int getInteger(const char* tag);
int getInteger(const char* tag, int defaultValue);
static SecNativeFeature* getInstance();
private:
static SecNativeFeature* _instance;
SecNativeFeature();
~SecNativeFeature();
int _loadFeature();
int _loadDefault();
std::map<std::string,std::string> _features;
};
#endif // SEC_NATIVE_FEATURE_CPPIF_H