summaryrefslogtreecommitdiff
path: root/mobile_src/SystemSetting/ConverterSystemSetting.h
diff options
context:
space:
mode:
Diffstat (limited to 'mobile_src/SystemSetting/ConverterSystemSetting.h')
-rwxr-xr-xmobile_src/SystemSetting/ConverterSystemSetting.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/mobile_src/SystemSetting/ConverterSystemSetting.h b/mobile_src/SystemSetting/ConverterSystemSetting.h
new file mode 100755
index 0000000..5617a83
--- /dev/null
+++ b/mobile_src/SystemSetting/ConverterSystemSetting.h
@@ -0,0 +1,48 @@
+//
+// Tizen Web Device API
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+#include <CommonsJavaScript/Converter.h>
+#include "ISystemSettingType.h"
+
+#ifndef CONVERTEDSYSTEMSETTING_H
+#define CONVERTEDSYSTEMSETTING_H
+
+namespace DeviceAPI {
+namespace SystemSetting {
+class ConverterSystemSetting : public WrtDeviceApis::CommonsJavaScript::Converter
+{
+ private:
+
+ public:
+ using WrtDeviceApis::CommonsJavaScript::Converter::toJSValueRef;
+
+ explicit ConverterSystemSetting(JSContextRef context);
+
+ virtual ~ConverterSystemSetting();
+
+ SettingType toSettingType(JSValueRef arg);
+
+ SettingType toSettingType(JSObjectRef arg);
+
+// std::string toMessageStatusType( long msgstatus );
+};
+
+typedef WrtDeviceApis::CommonsJavaScript::ConverterFactory<ConverterSystemSetting> ConverterSystemSettingFactory;
+}
+}
+
+#endif