#include <FBaseColHashMap.h>
#include <FBaseColIMap.h>
#include <FBaseResult.h>
+#include <FIoFileLock.h>
+
namespace Tizen { namespace Io
{
+class _FileImpl;
+
class _RegistryCore
: public Tizen::Base::Object
{
static result ConvertToSecureRegistry(const Tizen::Base::String& plainRegPath, const Tizen::Base::String& secureRegPath, const Tizen::Base::ByteBuffer* key = null);
+ FileLock* LockN(FileLockType lockType);
+
+ FileLock* TryToLockN(FileLockType lockType);
+
protected:
static result AddSection(Tizen::Base::Collection::LinkedList& sectionList, const Tizen::Base::String& sectionName);
bool _write;
bool _truncate;
bool _append;
+ bool _update;
Tizen::Base::Collection::LinkedList _sectionList; // <section_name, list<section_val_name, val>>
byte* _pBuffer;
int _length;
+private:
+ _FileImpl* __pFileImpl;
+
}; // _RegistryCore
}} // Tizen::Io