17class PackagingSettings
36 static PackagingSettings*
Get();
43 BuildProfile* CreateProfile(
const std::string& name);
49 void DeleteProfile(uint32_t profileId);
56 BuildProfile* GetProfile(uint32_t profileId);
62 BuildProfile* GetSelectedProfile();
68 std::vector<BuildProfile>& GetProfiles();
74 int32_t GetSelectedProfileIndex()
const {
return mSelectedProfileIndex; }
80 void SetSelectedProfileIndex(int32_t index);
86 BuildProfile* GetCurrentTargetProfile();
92 void SetCurrentTargetProfileId(uint32_t profileId);
98 uint32_t GetCurrentTargetProfileId()
const {
return mCurrentTargetProfileId; }
116 std::string GetSettingsFilePath()
const;
120 ~PackagingSettings();
122 static PackagingSettings* sInstance;
125 std::vector<BuildProfile> mProfiles;
128 int32_t mSelectedProfileIndex = -1;
131 uint32_t mNextProfileId = 1;
134 uint32_t mCurrentTargetProfileId = 0;