X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fasset-manager%2Fasset-manager.cpp;h=b2427ecfe0d923c5e629d264aeac367d6e61139c;hp=b5c8662cfead2f1c9f3a020d3d381b8f3ff81476;hb=8ac43a96d407316db6af75553712f899ccb47a71;hpb=d82f43904668532387d5c796aad7aa265d5536d6 diff --git a/dali-toolkit/devel-api/asset-manager/asset-manager.cpp b/dali-toolkit/devel-api/asset-manager/asset-manager.cpp index b5c8662..b2427ec 100644 --- a/dali-toolkit/devel-api/asset-manager/asset-manager.cpp +++ b/dali-toolkit/devel-api/asset-manager/asset-manager.cpp @@ -36,26 +36,51 @@ namespace Toolkit const std::string AssetManager::GetDaliImagePath() { + /** + * @note DALI_IMAGE_DIR is a macro that can be defined either with a file system path or zero. + * If it's defined as zero then the value is retrieved from an environment variable + * named DALI_IMAGE_DIR. + */ return (nullptr == DALI_IMAGE_DIR) ? EnvironmentVariable::GetEnvironmentVariable(TOKEN_STRING(DALI_IMAGE_DIR)) : DALI_IMAGE_DIR; } const std::string AssetManager::GetDaliSoundPath() { + /** + * @note DALI_SOUND_DIR is a macro that can be defined either with a file system path or zero. + * If it's defined as zero then the value is retrieved from an environment variable + * named DALI_SOUND_DIR. + */ return (nullptr == DALI_SOUND_DIR) ? EnvironmentVariable::GetEnvironmentVariable(TOKEN_STRING(DALI_SOUND_DIR)) : DALI_SOUND_DIR; } const std::string AssetManager::GetDaliStylePath() { + /** + * @note DALI_STYLE_DIR is a macro that can be defined either with a file system path or zero. + * If it's defined as zero then the value is retrieved from an environment variable + * named DALI_STYLE_DIR. + */ return (nullptr == DALI_STYLE_DIR) ? EnvironmentVariable::GetEnvironmentVariable(TOKEN_STRING(DALI_STYLE_DIR)) : DALI_STYLE_DIR; } const std::string AssetManager::GetDaliStyleImagePath() { + /** + * @note DALI_STYLE_IMAGE_DIR is a macro that can be defined either with a file system path or zero. + * If it's defined as zero then the value is retrieved from an environment variable + * named DALI_STYLE_IMAGE_DIR. + */ return (nullptr == DALI_STYLE_IMAGE_DIR) ? EnvironmentVariable::GetEnvironmentVariable(TOKEN_STRING(DALI_STYLE_IMAGE_DIR)) : DALI_STYLE_IMAGE_DIR; } const std::string AssetManager::GetDaliDataReadOnlyPath() { + /** + * @note DALI_DATA_READ_ONLY_DIR is a macro that can be defined either with a file system path or zero. + * If it's defined as zero then the value is retrieved from an environment variable + * named DALI_DATA_READ_ONLY_DIR. + */ return (nullptr == DALI_DATA_READ_ONLY_DIR) ? EnvironmentVariable::GetEnvironmentVariable(TOKEN_STRING(DALI_DATA_READ_ONLY_DIR)) : DALI_DATA_READ_ONLY_DIR; }