summaryrefslogtreecommitdiff
path: root/src/standards/Tizen/TimeUtil/plugin_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/standards/Tizen/TimeUtil/plugin_config.h')
-rwxr-xr-xsrc/standards/Tizen/TimeUtil/plugin_config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/standards/Tizen/TimeUtil/plugin_config.h b/src/standards/Tizen/TimeUtil/plugin_config.h
new file mode 100755
index 0000000..3ac5265
--- /dev/null
+++ b/src/standards/Tizen/TimeUtil/plugin_config.h
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+
+#ifndef _TIMEUTIL_PLUGIN_CONFIG_H_
+#define _TIMEUTIL_PLUGIN_CONFIG_H_
+
+#include <Commons/FunctionDeclaration.h>
+#include <Tizen/Common/SecurityExceptions.h>
+
+namespace TizenApis {
+namespace Tizen1_0 {
+#define TIMEUTIL_FUNCTION_API_READ_FUNCS "TimeUtilReadFunctions"
+#define TIMEUTIL_FUNCTION_API_SET_CURRENT_DATE_TIME "setCurrentDateTime"
+
+DECLARE_FUNCTION_GETTER(TimeUtil);
+
+#define TIMEUTIL_CHECK_ACCESS(globalContext, functionName) \
+ aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >( \
+ globalContext, \
+ getTimeUtilFunctionData, \
+ functionName)
+}
+}
+
+#endif // _TIMEUTIL_PLUGIN_CONFIG_H_ \ No newline at end of file