namespace Tizen { namespace App
{
+static const ReadOnlyTag ReadOnly = {};
+static const ReadWriteTag ReadWrite = {};
+
_AppRegistryImpl::_AppRegistryImpl(void)
: __sectionName(L"__ApplicationStates")
{
result r = __regPath.Append(packageId);
SysTryReturnResult(NID_APP, !IsFailed(r), r, "String appending has failed.");
- __mutex.Create();
+ r = __mutex.Create();
+ SysTryReturnResult(NID_APP, !IsFailed(r), r, "Mutex intialization failed.");
{
MutexGuard lock(__mutex);
#include <FAppTypes.h>
#include <FBaseRtMutex.h>
+namespace Tizen { namespace Io { class Registry; } }
+
namespace Tizen { namespace App
{
struct ReadOnlyTag {};
struct ReadWriteTag {};
-static const ReadOnlyTag ReadOnly = {};
-static const ReadWriteTag ReadWrite = {};
-
/**
* @class _AppRegistryImpl
* @brief This class manages an application's preferences.