Remove unused functions 13/28013/1
authorYury Usishchev <y.usishchev@samsung.com>
Tue, 23 Sep 2014 12:04:57 +0000 (16:04 +0400)
committerYury Usishchev <y.usishchev@samsung.com>
Wed, 24 Sep 2014 09:38:19 +0000 (13:38 +0400)
Change-Id: Ie25ac47e434da0ee838fc408bf473881c74a9fcc
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
adaptors/common/adaptor-impl.cpp
adaptors/wayland/event-handler-wl.cpp
adaptors/x11/event-handler-x.cpp

index 2314ae5..860e581 100644 (file)
@@ -92,14 +92,6 @@ bool GetIntegerEnvironmentVariable( const char* variable, int& intValue )
   return true;
 }
 
-bool GetBooleanEnvironmentVariable( const char* variable, bool& boolValue )
-{
-  const char* variableParameter = std::getenv(variable);
-
-  boolValue = variableParameter ? true : false;
-  return boolValue;
-}
-
 bool GetFloatEnvironmentVariable( const char* variable, float& floatValue )
 {
   const char* variableParameter = std::getenv(variable);
index 7b191e6..b60efea 100644 (file)
@@ -74,35 +74,6 @@ Integration::Log::Filter* gSelectionEventLogFilter = Integration::Log::Filter::N
 
 namespace
 {
-// Currently this code is internal to dali/dali/internal/event/text/utf8.h but should be made Public and used from there instead.
-size_t Utf8SequenceLength(const unsigned char leadByte)
-{
-  size_t length = 0;
-
-  if ((leadByte & 0x80) == 0 )          //ASCII character (lead bit zero)
-  {
-    length = 1;
-  }
-  else if (( leadByte & 0xe0 ) == 0xc0 ) //110x xxxx
-  {
-    length = 2;
-  }
-  else if (( leadByte & 0xf0 ) == 0xe0 ) //1110 xxxx
-  {
-    length = 3;
-  }
-  else if (( leadByte & 0xf8 ) == 0xf0 ) //1111 0xxx
-  {
-    length = 4;
-  }
-  else
-  {
-    DALI_LOG_WARNING("Unrecognized lead byte  %c\n", leadByte);
-  }
-
-  return length;
-}
-
 const unsigned int PRIMARY_TOUCH_BUTTON_ID( 1 );
 
 const unsigned int BYTES_PER_CHARACTER_FOR_ATTRIBUTES = 3;
index 6919aef..f702cea 100644 (file)
@@ -79,35 +79,6 @@ namespace
 const char * DALI_VCONFKEY_SETAPPL_ACCESSIBILITY_FONT_NAME = "db/setting/accessibility/font_name"; // It will be update at vconf-key.h and replaced.
 #endif // DALI_PROFILE_UBUNTU
 
-// Currently this code is internal to dali/dali/internal/event/text/utf8.h but should be made Public and used from there instead.
-size_t Utf8SequenceLength(const unsigned char leadByte)
-{
-  size_t length = 0;
-
-  if ((leadByte & 0x80) == 0 )          //ASCII character (lead bit zero)
-  {
-    length = 1;
-  }
-  else if (( leadByte & 0xe0 ) == 0xc0 ) //110x xxxx
-  {
-    length = 2;
-  }
-  else if (( leadByte & 0xf0 ) == 0xe0 ) //1110 xxxx
-  {
-    length = 3;
-  }
-  else if (( leadByte & 0xf8 ) == 0xf0 ) //1111 0xxx
-  {
-    length = 4;
-  }
-  else
-  {
-    DALI_LOG_WARNING("Unrecognized lead byte  %c\n", leadByte);
-  }
-
-  return length;
-}
-
 const unsigned int PRIMARY_TOUCH_BUTTON_ID( 1 );
 
 #ifndef DALI_PROFILE_UBUNTU