${UIFW_DIRECTORY}/src/ui/inc
${UIFW_DIRECTORY}/src/ui/animations
${UIFW_DIRECTORY}/src/ui/animations/platform
+ ${UIFW_DIRECTORY}/src/ui/animations/math
${RSA_DEV_DIRECTORY}/external/boost
/usr/include/cairo
/usr/include/pixman-1
+ /usr/include/libxml2
)
ELSEIF(_WIN32)
INCLUDE_DIRECTORIES(
base/FBaseErrors.cpp
base/FBaseString.cpp
base/FBaseStringComparer.cpp
+ base/FBaseStringHashCodeProvider.cpp
base/FBaseSysLog.cpp
base/FBaseDateTime.cpp
base/FBaseTimeSpan.cpp
base/FBaseDouble.cpp
base/FBaseFloat.cpp
base/FBase_StringConverter.cpp
+ base/utility/FBaseUtil_IcuConverter.cpp
base/runtime/FBaseRtIEventListener.cpp
base/collection/FBaseColMapEntry.cpp
base/collection/FBaseColQueue.cpp
${UIFW_DIRECTORY}/src/ui/animations/FUiAnimVisualElementValueAnimation.cpp
${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_VisualElementValueAnimationImpl.cpp
${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_Waiter.cpp
+
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathAdapterFunctions.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathCommon.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathMatrix2.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathMatrix3.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathMatrix4.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathPlane.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathQuaternion.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathQuaternionUnit.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathVector2.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathVector3.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/math/FUiAnim_MathVector4.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_GlDefaultShaderProgram.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_DynamicProperty.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_CustomShader.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_BoundingVolume.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_MeshImpl.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_Ray.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnimLight.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnimMaterial.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_LightImpl.cpp
+ ${UIFW_DIRECTORY}/src/ui/animations/FUiAnim_MaterialImpl.cpp
+
+
${UIFW_DIRECTORY}/src/ui/FUi_Matrix3Df.cpp
${UIFW_DIRECTORY}/src/ui/FUi_PropertyBase.cpp
${UIFW_DIRECTORY}/src/ui/FUi_PropertyUtils.cpp
TARGET_LINK_LIBRARIES(${this_target} "-lEGL" )
TARGET_LINK_LIBRARIES(${this_target} "-lpixman-1" )
TARGET_LINK_LIBRARIES(${this_target} "-lcairo" )
+TARGET_LINK_LIBRARIES(${this_target} "-licuuc" )
ELSEIF(_WIN32)
#include <FBaseSysLog.h>
#include <unique_ptr.h>
#include "FBaseUtil_AtomicOperations.h"
+#include "FBaseUtil_IcuConverter.h"
namespace Tizen { namespace Base
{
, __pValue(null)
, __pStringImpl(null)
{
-#ifdef TEST
if (pValue == null || strlen(pValue) == 0)
{
result r = InitializeToDefault(DEFAULT_CAPACITY);
__length = wcslen(__pValue);
__capacity = __length + DEFAULT_CAPACITY;
__pValue[__length] = '\0';
- }
-#endif
+ }
}
String::String(const String& value)
return *this;
}
- Append(pRhs);
+ Append(pRhs);
return *this;
}
}
result
+String::Append(const String& str)
+{
+ if (str.IsEmpty())
+ {
+ return E_SUCCESS;
+ }
+
+ result r = Append(str.__pValue);
+ SysTryReturn(NID_BASE, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+
+ return r;
+}
+#endif
+
+result
String::Append(const wchar_t* p)
{
SysTryReturnResult(NID_BASE, p != null, E_INVALID_ARG, "p is null.");
return E_SUCCESS;
}
-result
-String::Append(const String& str)
-{
- if (str.IsEmpty())
- {
- return E_SUCCESS;
- }
-
- result r = Append(str.__pValue);
- SysTryReturn(NID_BASE, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
-
- return r;
-}
-#endif
void
String::Clear(void)
{
return true;
}
- wchar_t* pStart = __pValue;
- wchar_t* pEnd = pStart + __length;
- while (pStart < pEnd)
- {
- while (wcsstr(pStart, str.__pValue) != null)
- {
- return true;
- }
- ++pStart;
- }
-
- return false;
+ return (wcsstr(__pValue, str.__pValue) != null);
}
bool
* @exception E_SUCCESS The method is successful.
*/
result Append(wchar_t ch);
+
+ /**
+ * Appends the specified null-terminated Unicode text to this instance
+ * of %String.
+ *
+ * @since 2.0
+ *
+ * @return An error code
+ * @param[in] p A pointer to a Unicode character array
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG A @c null pointer is passed.
+ */
+ result Append(const wchar_t* p);
#ifdef TEST
/**
* Appends the specified @c char value to this %String instance after converting it.
* @param[in] d A @c double value to insert
* @exception E_SUCCESS The method is successful.
*/
- result Append(double d);
-
- /**
- * Appends the specified null-terminated Unicode text to this instance
- * of %String.
- *
- * @since 2.0
- *
- * @return An error code
- * @param[in] p A pointer to a Unicode character array
- * @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG A @c null pointer is passed.
- */
- result Append(const wchar_t* p);
+ result Append(double d);
/**
* Appends the specified instance of %String to this instance
/**
* Atomically add the @c value to the variable that @c pRefCount points to.
*
- * @since 2.1
- * @remarks This method supposes 4 byte alignment in ARM architecture.
+ * @since 2.2
+ * @remarks This method supposes 4 byte alignment on ARM architecture.
*/
inline int
AtomicAdd(volatile int* pRefCount, int value)
/**
* Atomically increase the variable that @c pRefCount points to by 1
*
- * @since 2.1
- * @remarks This method supposes 4 byte alignment in ARM architecture.
+ * @since 2.2
+ * @remarks This method supposes 4 byte alignment on ARM architecture.
*/
inline int
AtomicInc(volatile int* pRefCount)
/**
* Atomically decrease the variable that @c pRefCount points to by 1
*
- * @since 2.1
- * @remarks This method supposes 4 byte alignment in ARM architecture.
+ * @since 2.2
+ * @remarks This method supposes 4 byte alignment on ARM architecture.
*/
inline int
AtomicDec(volatile int* pRefCount)
//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
* @file FBase_StringConverter.h
* @brief This is the header file for the _StringConverter class.
*/
-
#ifndef _FBASE_STRING_CONVERTER_H_
#define _FBASE_STRING_CONVERTER_H_
#include <FBaseString.h>
-
namespace Tizen { namespace Base
{
-
class _OSP_EXPORT_ _StringConverter
{
public:
static char* CopyToCharArrayN(const wchar_t* pValue);
}; // _StringConverter
-
}} // Tizen::Base
-
-#endif // _FBASE_STRING_CONVERTER_H_
+#endif // _FBASE_STRING_CONVERTER_H_
\ No newline at end of file
#include <unique_ptr.h>
#include <unicode/ustring.h>
#include <FBaseResult.h>
-#ifdef TEST
#include "FBase_StringConverter.h"
+#ifdef TEST
#include "FBase_NativeError.h"
#endif
#include <FBaseSysLog.h>
#include <FBaseSysLog.h>
+#include <FBaseString.h>
#include "FUiAnimLight.h"
#include "FUiAnim_LightImpl.h"
#include <FBaseSysLog.h>
+#include <FBaseString.h>
#include "FUiAnimMaterial.h"
#include "FUiAnim_MaterialImpl.h"
+#include <stddef.h>
#include "FUiAnim_BoundingVolume.h"
#include "FUiAnim_MathVector3.h"
* This file contains implementation _CustomShader class.
*/
-
+#include <FBaseString.h>
+#include <FBaseErrors.h>
#include "FUiAnim_CustomShader.h"
#include "FUiAnim_GlShaderProgram.h"