--- /dev/null
+/*
+ * Copyright (c) 2015 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.
+ */
+
+// CLASS HEADER
+#include "environment-variable.h"
+
+// EXTERNAL INCLUDE
+#include <cstdlib>
+
+namespace Dali
+{
+
+namespace EnvironmentVariable
+{
+
+const char * GetEnvironmentVariable( const char * variable )
+{
+ return std::getenv( variable );
+}
+
+} // namespace EnvironmentVariable
+
+} // namespace Dali
--- /dev/null
+#ifndef __DALI_ENVIRONMENT_VARIABLE_H__
+#define __DALI_ENVIRONMENT_VARIABLE_H__
+
+/*
+ * Copyright (c) 2015 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 <dali/public-api/common/dali-common.h>
+
+namespace Dali
+{
+
+namespace EnvironmentVariable
+{
+
+/**
+ * @brief Search the environment list for the specified variable name and return a pointer to the C string that is associated with the matched environment list member.
+ *
+ * @param[in] variable Null-terminated character string identifying the name of the environmental variable to look for.
+ * @return A C-string containing the value of the specified environment variable.
+ */
+DALI_IMPORT_API const char * GetEnvironmentVariable( const char * variable );
+
+} // namespace EnvironmentVariable
+
+} // namespace Dali
+
+#endif /*__DALI_ ENVIRONMENT_VARIABLE_H__ */
$(adaptor_devel_api_dir)/adaptor-framework/clipboard-event-notifier.cpp \
$(adaptor_devel_api_dir)/adaptor-framework/color-controller.cpp \
$(adaptor_devel_api_dir)/adaptor-framework/drag-and-drop-detector.cpp \
+ $(adaptor_devel_api_dir)/adaptor-framework/environment-variable.cpp \
$(adaptor_devel_api_dir)/adaptor-framework/event-feeder.cpp \
$(adaptor_devel_api_dir)/adaptor-framework/event-thread-callback.cpp \
$(adaptor_devel_api_dir)/adaptor-framework/feedback-player.cpp \
$(adaptor_devel_api_dir)/adaptor-framework/clipboard.h \
$(adaptor_devel_api_dir)/adaptor-framework/color-controller.h \
$(adaptor_devel_api_dir)/adaptor-framework/drag-and-drop-detector.h \
+ $(adaptor_devel_api_dir)/adaptor-framework/environment-variable.h \
$(adaptor_devel_api_dir)/adaptor-framework/event-feeder.h \
$(adaptor_devel_api_dir)/adaptor-framework/event-thread-callback.h \
$(adaptor_devel_api_dir)/adaptor-framework/feedback-plugin.h \