X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-io.h;h=3eaf9f0fa08855ac4833a3de0e5443a1d0bf5d0d;hb=93ad73e0e2c46aca4c191a1e2f075061e167e8b5;hp=b65d917ca04b2025164db1d60bb86a5fec8ea8dc;hpb=eb76d9131e2e66aeaeb2a1a6ca66b9fe80f0c873;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-io.h b/dali-toolkit/internal/text/text-io.h index b65d917..3eaf9f0 100644 --- a/dali-toolkit/internal/text/text-io.h +++ b/dali-toolkit/internal/text/text-io.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TEXT_ABSTRACTION_TEXT_IO_H__ -#define __DALI_TEXT_ABSTRACTION_TEXT_IO_H__ +#ifndef DALI_TEXT_ABSTRACTION_TEXT_IO_H +#define DALI_TEXT_ABSTRACTION_TEXT_IO_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -19,23 +19,21 @@ */ // EXTERNAL INCLUDES -#include #include +#include // INTERNAL INCLUDES #include +#include #include #include namespace Dali { - namespace Toolkit { - namespace Text { - /** * @brief Print a vector of characters. * @@ -43,7 +41,7 @@ namespace Text * @param [in] text The text to print. * @return The output stream operator. */ -std::ostream& operator<< (std::ostream& o, const Vector& text); +std::ostream& operator<<(std::ostream& o, const Vector& text); /** * @brief Print a vector of script runs. @@ -52,7 +50,7 @@ std::ostream& operator<< (std::ostream& o, const Vector& text); * @param [in] scriptRuns The script runs to print. * @return The output stream operator. */ -std::ostream& operator<< (std::ostream& o, const Vector& scriptRuns); +std::ostream& operator<<(std::ostream& o, const Vector& scriptRuns); /** * @brief Print a vector of font runs. @@ -61,7 +59,16 @@ std::ostream& operator<< (std::ostream& o, const Vector& scriptRuns); * @param [in] fontRuns The font runs to print. * @return The output stream operator. */ -std::ostream& operator<< (std::ostream& o, const Vector& fontRuns); +std::ostream& operator<<(std::ostream& o, const Vector& fontRuns); + +/** + * @brief Print a vector of line runs. + * + * @param [in] o The output stream operator. + * @param [in] lineRuns The line runs to print. + * @return The output stream operator. + */ +std::ostream& operator<<(std::ostream& o, const Vector& lineRuns); } // namespace Text @@ -69,4 +76,4 @@ std::ostream& operator<< (std::ostream& o, const Vector& fontRuns); } // namespace Dali -#endif // __DALI_TEXT_ABSTRACTION_TEXT_IO_H__ +#endif // DALI_TEXT_ABSTRACTION_TEXT_IO_H