1 /* 2 * Copyright 2013, Haiku, Inc. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _PACKAGE__USER_SETTINGS_FILE_INFO_H_ 6 #define _PACKAGE__USER_SETTINGS_FILE_INFO_H_ 7 8 9 #include <String.h> 10 11 12 namespace BPackageKit { 13 14 15 class BUserSettingsFileInfo { 16 public: 17 BUserSettingsFileInfo(); 18 BUserSettingsFileInfo(const BString& path, 19 const BString& templatePath = BString()); 20 ~BUserSettingsFileInfo(); 21 22 status_t InitCheck() const; 23 24 const BString& Path() const; 25 const BString& TemplatePath() const; 26 27 void SetTo(const BString& path, 28 const BString& templatePath = BString()); 29 30 private: 31 BString fPath; 32 BString fTemplatePath; 33 }; 34 35 36 } // namespace BPackageKit 37 38 39 #endif // _PACKAGE__USER_SETTINGS_FILE_INFO_H_ 40