CanvasRenderer: Separates Commit() method
[platform/core/uifw/dali-adaptor.git] / third-party / windows-platform / environment.cpp
1 #include <cstdlib>
2 #include <string>
3
4 using namespace std;
5
6 const char* app_get_data_path()
7 {
8   static std::string envValue = "";
9
10   if( true == envValue.empty() )
11   {
12     envValue = std::getenv( "DemoData" );
13     envValue += "/";
14   }
15
16   return envValue.c_str();
17 }