From 60d3dd98a44230c21803c1606552ee098ed9fa7c Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 21 Feb 2024 21:05:14 +0100 Subject: Convert remaining BOOL to bool --- indra/newview/llnamebox.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/newview/llnamebox.h') diff --git a/indra/newview/llnamebox.h b/indra/newview/llnamebox.h index 76e8551268..a4ffe389ba 100644 --- a/indra/newview/llnamebox.h +++ b/indra/newview/llnamebox.h @@ -51,7 +51,7 @@ public: virtual ~LLNameBox(); - void setNameID(const LLUUID& name_id, BOOL is_group); + void setNameID(const LLUUID& name_id, bool is_group); void refresh(const LLUUID& id, const std::string& full_name, bool is_group); @@ -62,13 +62,13 @@ protected: friend class LLUICtrlFactory; private: - void setName(const std::string& name, BOOL is_group); + void setName(const std::string& name, bool is_group); static std::set sInstances; private: LLUUID mNameID; - BOOL mLink; + bool mLink; std::string mInitialValue; }; -- cgit v1.2.3 From e2e37cced861b98de8c1a7c9c0d3a50d2d90e433 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 22 May 2024 21:25:21 +0200 Subject: Fix line endlings --- indra/newview/llnamebox.h | 152 +++++++++++++++++++++++----------------------- 1 file changed, 76 insertions(+), 76 deletions(-) (limited to 'indra/newview/llnamebox.h') diff --git a/indra/newview/llnamebox.h b/indra/newview/llnamebox.h index 9407c449f3..336ef8551a 100644 --- a/indra/newview/llnamebox.h +++ b/indra/newview/llnamebox.h @@ -1,76 +1,76 @@ -/** - * @file llnamebox.h - * @brief display and refresh a name from the name cache - * - * $LicenseInfo:firstyear=2003&license=viewerlgpl$ - * Second Life Viewer Source Code - * Copyright (C) 2010, Linden Research, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; - * version 2.1 of the License only. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA - * $/LicenseInfo$ - */ - -#ifndef LL_LLNAMEBOX_H -#define LL_LLNAMEBOX_H - -#include - -#include "llview.h" -#include "llstring.h" -#include "llfontgl.h" -#include "lltextbox.h" - -class LLNameBox -: public LLTextBox -{ -public: - struct Params : public LLInitParam::Block - { - Optional is_group; - Optional link; - - Params() - : is_group("is_group", false) - , link("link", false) - {} - }; - - virtual ~LLNameBox(); - - void setNameID(const LLUUID& name_id, bool is_group); - - void refresh(const LLUUID& id, const std::string& full_name, bool is_group); - - static void refreshAll(const LLUUID& id, const std::string& full_name, bool is_group); - -protected: - LLNameBox (const Params&); - - friend class LLUICtrlFactory; -private: - void setName(const std::string& name, bool is_group); - - static std::set sInstances; - -private: - LLUUID mNameID; - bool mLink; - std::string mInitialValue; - -}; - -#endif +/** + * @file llnamebox.h + * @brief display and refresh a name from the name cache + * + * $LicenseInfo:firstyear=2003&license=viewerlgpl$ + * Second Life Viewer Source Code + * Copyright (C) 2010, Linden Research, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; + * version 2.1 of the License only. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA + * $/LicenseInfo$ + */ + +#ifndef LL_LLNAMEBOX_H +#define LL_LLNAMEBOX_H + +#include + +#include "llview.h" +#include "llstring.h" +#include "llfontgl.h" +#include "lltextbox.h" + +class LLNameBox +: public LLTextBox +{ +public: + struct Params : public LLInitParam::Block + { + Optional is_group; + Optional link; + + Params() + : is_group("is_group", false) + , link("link", false) + {} + }; + + virtual ~LLNameBox(); + + void setNameID(const LLUUID& name_id, bool is_group); + + void refresh(const LLUUID& id, const std::string& full_name, bool is_group); + + static void refreshAll(const LLUUID& id, const std::string& full_name, bool is_group); + +protected: + LLNameBox (const Params&); + + friend class LLUICtrlFactory; +private: + void setName(const std::string& name, bool is_group); + + static std::set sInstances; + +private: + LLUUID mNameID; + bool mLink; + std::string mInitialValue; + +}; + +#endif -- cgit v1.2.3