//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
#ifndef _FAPP_INTERNAL_APP_ARG_H_
#define _FAPP_INTERNAL_APP_ARG_H_
-#include <bundle.h>
-
#include <FBaseObject.h>
#include <FAppTypes.h>
#include "FApp_Types.h"
+typedef struct _bundle_t bundle;
+
namespace Tizen { namespace Base { namespace Collection {
class ArrayList;
class IList;
#define OSP_K_DATACONTROL_PROVIDER "__OSP_DATACONTROL_PROVIDER__"
#define OSP_K_DATACONTROL_DATA "__OSP_DATACONTROL_DATA__"
#define OSP_K_DATACONTROL_REQUEST_TYPE "__OSP_DATACONTROL_REQUEST_TYPE__"
+#define OSP_K_DATACONTROL_PROTOCOL_VERSION "__OSP_DATACONTROL_PROTOCOL_VERSION__"
/**
* @class _AppArg
* @brief
- * @since 2.1
*/
class _OSP_EXPORT_ _AppArg
{
static void UpdateKeyValue(bundle* b, const char* pKey, const Tizen::Base::String& value);
+ static void UpdateSubMode(bundle* b);
+
+ static bool IsSubMode(bundle* b);
+
+ static void UpdateServiceApp(bundle* b);
+
+ static bool IsServiceApp(bundle* b);
+
static result UpdateWindowHandle(bundle* b, long handle);
static Tizen::Base::Collection::ArrayList* GetListN(bundle* b, const char* key);
static result FillMapFromList(Tizen::Base::Collection::IMap* pMap, const Tizen::Base::Collection::IList* pList);
static result FillLegacyAppControlResult(Tizen::Base::Collection::IList& list, int res, const Tizen::Base::Collection::IMap* pMap, const Tizen::Base::String& aId);
-
+
static result SetArgMap(bundle* pBundle, Tizen::Base::Collection::HashMap* pMap);
private:
_AppArg& operator =(const _AppArg& source);
- static result CreateLaunchArg(bundle* b, const Tizen::Base::String& arg);
+ static result CreateNotificationArg(bundle* b, const Tizen::Base::String& arg);
static result CreateLaunchArg(bundle* b, const Tizen::Base::Collection::IList* pList);