X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/c0de4d196e974fcd58060efe8a00776d3d70ad76..a1cc551d359ff0c35ffe148d4b3855eb19a24070:/Bundle.h diff --git a/Bundle.h b/Bundle.h index 4f93294..8e0be1c 100644 --- a/Bundle.h +++ b/Bundle.h @@ -62,7 +62,7 @@ public: mMinSdkVersion(NULL), mTargetSdkVersion(NULL), mMaxSdkVersion(NULL), mVersionCode(NULL), mVersionName(NULL), mCustomPackage(NULL), mExtraPackages(NULL), mMaxResVersion(NULL), mDebugMode(false), mNonConstantId(false), mProduct(NULL), - mUseCrunchCache(false), mOutputTextSymbols(NULL), + mUseCrunchCache(false), mErrorOnFailedInsert(false), mOutputTextSymbols(NULL), mArgc(0), mArgv(NULL) {} ~Bundle(void) {} @@ -114,6 +114,8 @@ public: void setAutoAddOverlay(bool val) { mAutoAddOverlay = val; } bool getGenDependencies() { return mGenDependencies; } void setGenDependencies(bool val) { mGenDependencies = val; } + bool getErrorOnFailedInsert() { return mErrorOnFailedInsert; } + void setErrorOnFailedInsert(bool val) { mErrorOnFailedInsert = val; } bool getUTF16StringsOption() { return mWantUTF16 || !isMinSdkAtLeast(SDK_FROYO); @@ -283,6 +285,7 @@ private: bool mNonConstantId; const char* mProduct; bool mUseCrunchCache; + bool mErrorOnFailedInsert; const char* mOutputTextSymbols; /* file specification */