From c285f59ce2a05703e3a1232fcaf3ee3aea714b3f Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sun, 18 Feb 2024 12:52:19 +0100 Subject: Replace BOOL with bool in llwindow and dependent classes --- indra/newview/lltoolcomp.h | 60 +++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'indra/newview/lltoolcomp.h') diff --git a/indra/newview/lltoolcomp.h b/indra/newview/lltoolcomp.h index 86506f725e..a2a0ac0dcd 100644 --- a/indra/newview/lltoolcomp.h +++ b/indra/newview/lltoolcomp.h @@ -45,14 +45,14 @@ class LLToolComposite : public LLTool public: LLToolComposite(const std::string& name); - virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask) = 0; // Sets the current tool - virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask); // Returns to the default tool - virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask) = 0; + virtual bool handleMouseDown(S32 x, S32 y, MASK mask) = 0; // Sets the current tool + virtual bool handleMouseUp(S32 x, S32 y, MASK mask); // Returns to the default tool + virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) = 0; // Map virtual functions to the currently active internal tool - virtual BOOL handleHover(S32 x, S32 y, MASK mask) { return mCur->handleHover( x, y, mask ); } - virtual BOOL handleScrollWheel(S32 x, S32 y, S32 clicks) { return mCur->handleScrollWheel( x, y, clicks ); } - virtual BOOL handleRightMouseDown(S32 x, S32 y, MASK mask) { return mCur->handleRightMouseDown( x, y, mask ); } + virtual bool handleHover(S32 x, S32 y, MASK mask) { return mCur->handleHover( x, y, mask ); } + virtual bool handleScrollWheel(S32 x, S32 y, S32 clicks) { return mCur->handleScrollWheel( x, y, clicks ); } + virtual bool handleRightMouseDown(S32 x, S32 y, MASK mask) { return mCur->handleRightMouseDown( x, y, mask ); } virtual LLViewerObject* getEditingObject() { return mCur->getEditingObject(); } virtual LLVector3d getEditingPointGlobal() { return mCur->getEditingPointGlobal(); } @@ -108,9 +108,9 @@ class LLToolCompInspect : public LLToolComposite, public LLSingleton public: // Overridden from LLToolComposite - virtual BOOL handleHover(S32 x, S32 y, MASK mask); - virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); - virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask); - virtual BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); - virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask); - virtual BOOL handleScrollWheel(S32 x, S32 y, S32 clicks); + virtual bool handleHover(S32 x, S32 y, MASK mask); + virtual bool handleMouseDown(S32 x, S32 y, MASK mask); + virtual bool handleDoubleClick(S32 x, S32 y, MASK mask); + virtual bool handleRightMouseDown(S32 x, S32 y, MASK mask); + virtual bool handleMouseUp(S32 x, S32 y, MASK mask); + virtual bool handleScrollWheel(S32 x, S32 y, S32 clicks); virtual void onMouseCaptureLost(); virtual void handleSelect(); virtual void handleDeselect(); -- cgit v1.2.3 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/lltoolcomp.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'indra/newview/lltoolcomp.h') diff --git a/indra/newview/lltoolcomp.h b/indra/newview/lltoolcomp.h index a2a0ac0dcd..f2be90aadc 100644 --- a/indra/newview/lltoolcomp.h +++ b/indra/newview/lltoolcomp.h @@ -56,10 +56,10 @@ public: virtual LLViewerObject* getEditingObject() { return mCur->getEditingObject(); } virtual LLVector3d getEditingPointGlobal() { return mCur->getEditingPointGlobal(); } - virtual BOOL isEditing() { return mCur->isEditing(); } + virtual bool isEditing() { return mCur->isEditing(); } virtual void stopEditing() { mCur->stopEditing(); mCur = mDefault; } - virtual BOOL clipMouseWhenDown() { return mCur->clipMouseWhenDown(); } + virtual bool clipMouseWhenDown() { return mCur->clipMouseWhenDown(); } virtual void handleSelect(); virtual void handleDeselect(); @@ -67,7 +67,7 @@ public: virtual void render() { mCur->render(); } virtual void draw() { mCur->draw(); } - virtual BOOL handleKey(KEY key, MASK mask) { return mCur->handleKey( key, mask ); } + virtual bool handleKey(KEY key, MASK mask) { return mCur->handleKey( key, mask ); } virtual void onMouseCaptureLost(); @@ -77,7 +77,7 @@ public: virtual void localPointToScreen(S32 local_x, S32 local_y, S32* screen_x, S32* screen_y) const { mCur->localPointToScreen(local_x, local_y, screen_x, screen_y); } - BOOL isSelecting(); + bool isSelecting(); LLTool* getCurrentTool() { return mCur; } protected: @@ -88,8 +88,8 @@ protected: protected: LLTool* mCur; // The tool to which we're delegating. LLTool* mDefault; - BOOL mSelected; - BOOL mMouseDown; + bool mSelected; + bool mMouseDown; LLManip* mManip; LLToolSelectRect* mSelectRect; @@ -111,16 +111,16 @@ public: virtual bool handleMouseDown(S32 x, S32 y, MASK mask); virtual bool handleMouseUp(S32 x, S32 y, MASK mask); virtual bool handleDoubleClick(S32 x, S32 y, MASK mask); - virtual BOOL handleKey(KEY key, MASK mask); + virtual bool handleKey(KEY key, MASK mask); virtual void onMouseCaptureLost(); void keyUp(KEY key, MASK mask); static void pickCallback(const LLPickInfo& pick_info); - BOOL isToolCameraActive() const { return mIsToolCameraActive; } + bool isToolCameraActive() const { return mIsToolCameraActive; } private: - BOOL mIsToolCameraActive; + bool mIsToolCameraActive; }; //----------------------------------------------------------------------- @@ -206,7 +206,7 @@ public: static void pickCallback(const LLPickInfo& pick_info); protected: LLToolPlacer* mPlacer; - BOOL mObjectPlacedOnMouseDown; + bool mObjectPlacedOnMouseDown; }; -- 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/lltoolcomp.h | 490 ++++++++++++++++++++++----------------------- 1 file changed, 245 insertions(+), 245 deletions(-) (limited to 'indra/newview/lltoolcomp.h') diff --git a/indra/newview/lltoolcomp.h b/indra/newview/lltoolcomp.h index 0ea8afde28..4b945967d1 100644 --- a/indra/newview/lltoolcomp.h +++ b/indra/newview/lltoolcomp.h @@ -1,245 +1,245 @@ -/** - * @file lltoolcomp.h - * @brief Composite tools - * - * $LicenseInfo:firstyear=2001&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_TOOLCOMP_H -#define LL_TOOLCOMP_H - -#include "lltool.h" - -class LLManip; -class LLToolSelectRect; -class LLToolPlacer; -class LLPickInfo; - -class LLView; -class LLTextBox; - -//----------------------------------------------------------------------- -// LLToolComposite - -class LLToolComposite : public LLTool -{ -public: - LLToolComposite(const std::string& name); - - virtual bool handleMouseDown(S32 x, S32 y, MASK mask) = 0; // Sets the current tool - virtual bool handleMouseUp(S32 x, S32 y, MASK mask); // Returns to the default tool - virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) = 0; - - // Map virtual functions to the currently active internal tool - virtual bool handleHover(S32 x, S32 y, MASK mask) { return mCur->handleHover( x, y, mask ); } - virtual bool handleScrollWheel(S32 x, S32 y, S32 clicks) { return mCur->handleScrollWheel( x, y, clicks ); } - virtual bool handleRightMouseDown(S32 x, S32 y, MASK mask) { return mCur->handleRightMouseDown( x, y, mask ); } - - virtual LLViewerObject* getEditingObject() { return mCur->getEditingObject(); } - virtual LLVector3d getEditingPointGlobal() { return mCur->getEditingPointGlobal(); } - virtual bool isEditing() { return mCur->isEditing(); } - virtual void stopEditing() { mCur->stopEditing(); mCur = mDefault; } - - virtual bool clipMouseWhenDown() { return mCur->clipMouseWhenDown(); } - - virtual void handleSelect(); - virtual void handleDeselect(); - - virtual void render() { mCur->render(); } - virtual void draw() { mCur->draw(); } - - virtual bool handleKey(KEY key, MASK mask) { return mCur->handleKey( key, mask ); } - - virtual void onMouseCaptureLost(); - - virtual void screenPointToLocal(S32 screen_x, S32 screen_y, S32* local_x, S32* local_y) const - { mCur->screenPointToLocal(screen_x, screen_y, local_x, local_y); } - - virtual void localPointToScreen(S32 local_x, S32 local_y, S32* screen_x, S32* screen_y) const - { mCur->localPointToScreen(local_x, local_y, screen_x, screen_y); } - - bool isSelecting(); - LLTool* getCurrentTool() { return mCur; } - -protected: - void setCurrentTool( LLTool* new_tool ); - // In hover handler, call this to auto-switch tools - void setToolFromMask( MASK mask, LLTool *normal ); - -protected: - LLTool* mCur; // The tool to which we're delegating. - LLTool* mDefault; - bool mSelected; - bool mMouseDown; - LLManip* mManip; - LLToolSelectRect* mSelectRect; - -public: - static const std::string sNameComp; -}; - - -//----------------------------------------------------------------------- -// LLToolCompTranslate - -class LLToolCompInspect : public LLToolComposite, public LLSingleton -{ - LLSINGLETON(LLToolCompInspect); - virtual ~LLToolCompInspect(); -public: - - // Overridden from LLToolComposite - virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; - virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; - virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; - virtual bool handleKey(KEY key, MASK mask) override; - virtual void onMouseCaptureLost() override; - void keyUp(KEY key, MASK mask); - - static void pickCallback(const LLPickInfo& pick_info); - - bool isToolCameraActive() const { return mIsToolCameraActive; } - -private: - bool mIsToolCameraActive; -}; - -//----------------------------------------------------------------------- -// LLToolCompTranslate - -class LLToolCompTranslate : public LLToolComposite, public LLSingleton -{ - LLSINGLETON(LLToolCompTranslate); - virtual ~LLToolCompTranslate(); -public: - - // Overridden from LLToolComposite - virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; - virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; - virtual bool handleHover(S32 x, S32 y, MASK mask) override; - virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; // Returns to the default tool - virtual void render() override; - - virtual LLTool* getOverrideTool(MASK mask) override; - - static void pickCallback(const LLPickInfo& pick_info); -}; - -//----------------------------------------------------------------------- -// LLToolCompScale - -class LLToolCompScale : public LLToolComposite, public LLSingleton -{ - LLSINGLETON(LLToolCompScale); - virtual ~LLToolCompScale(); -public: - - // Overridden from LLToolComposite - virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; - virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; - virtual bool handleHover(S32 x, S32 y, MASK mask) override; - virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; // Returns to the default tool - virtual void render() override; - - virtual LLTool* getOverrideTool(MASK mask) override; - - static void pickCallback(const LLPickInfo& pick_info); -}; - - -//----------------------------------------------------------------------- -// LLToolCompRotate - -class LLToolCompRotate : public LLToolComposite, public LLSingleton -{ - LLSINGLETON(LLToolCompRotate); - virtual ~LLToolCompRotate(); -public: - - // Overridden from LLToolComposite - virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; - virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; - virtual bool handleHover(S32 x, S32 y, MASK mask) override; - virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; - virtual void render() override; - - virtual LLTool* getOverrideTool(MASK mask) override; - - static void pickCallback(const LLPickInfo& pick_info); - -protected: -}; - -//----------------------------------------------------------------------- -// LLToolCompCreate - -class LLToolCompCreate : public LLToolComposite, public LLSingleton -{ - LLSINGLETON(LLToolCompCreate); - virtual ~LLToolCompCreate(); -public: - - // Overridden from LLToolComposite - virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; - virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; - virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; - - static void pickCallback(const LLPickInfo& pick_info); -protected: - LLToolPlacer* mPlacer; - bool mObjectPlacedOnMouseDown; -}; - - -//----------------------------------------------------------------------- -// LLToolCompGun - -class LLToolGun; -class LLToolGrabBase; -class LLToolSelect; - -class LLToolCompGun : public LLToolComposite, public LLSingleton -{ - LLSINGLETON(LLToolCompGun); - virtual ~LLToolCompGun(); -public: - - // Overridden from LLToolComposite - virtual bool handleHover(S32 x, S32 y, MASK mask) override; - virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; - virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; - virtual bool handleRightMouseDown(S32 x, S32 y, MASK mask) override; - virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; - virtual bool handleScrollWheel(S32 x, S32 y, S32 clicks) override; - virtual void onMouseCaptureLost() override; - virtual void handleSelect() override; - virtual void handleDeselect() override; - virtual LLTool* getOverrideTool(MASK mask) override { return NULL; } - -protected: - LLToolGun* mGun; - LLToolGrabBase* mGrab; - LLTool* mNull; -}; - - -#endif // LL_TOOLCOMP_H +/** + * @file lltoolcomp.h + * @brief Composite tools + * + * $LicenseInfo:firstyear=2001&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_TOOLCOMP_H +#define LL_TOOLCOMP_H + +#include "lltool.h" + +class LLManip; +class LLToolSelectRect; +class LLToolPlacer; +class LLPickInfo; + +class LLView; +class LLTextBox; + +//----------------------------------------------------------------------- +// LLToolComposite + +class LLToolComposite : public LLTool +{ +public: + LLToolComposite(const std::string& name); + + virtual bool handleMouseDown(S32 x, S32 y, MASK mask) = 0; // Sets the current tool + virtual bool handleMouseUp(S32 x, S32 y, MASK mask); // Returns to the default tool + virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) = 0; + + // Map virtual functions to the currently active internal tool + virtual bool handleHover(S32 x, S32 y, MASK mask) { return mCur->handleHover( x, y, mask ); } + virtual bool handleScrollWheel(S32 x, S32 y, S32 clicks) { return mCur->handleScrollWheel( x, y, clicks ); } + virtual bool handleRightMouseDown(S32 x, S32 y, MASK mask) { return mCur->handleRightMouseDown( x, y, mask ); } + + virtual LLViewerObject* getEditingObject() { return mCur->getEditingObject(); } + virtual LLVector3d getEditingPointGlobal() { return mCur->getEditingPointGlobal(); } + virtual bool isEditing() { return mCur->isEditing(); } + virtual void stopEditing() { mCur->stopEditing(); mCur = mDefault; } + + virtual bool clipMouseWhenDown() { return mCur->clipMouseWhenDown(); } + + virtual void handleSelect(); + virtual void handleDeselect(); + + virtual void render() { mCur->render(); } + virtual void draw() { mCur->draw(); } + + virtual bool handleKey(KEY key, MASK mask) { return mCur->handleKey( key, mask ); } + + virtual void onMouseCaptureLost(); + + virtual void screenPointToLocal(S32 screen_x, S32 screen_y, S32* local_x, S32* local_y) const + { mCur->screenPointToLocal(screen_x, screen_y, local_x, local_y); } + + virtual void localPointToScreen(S32 local_x, S32 local_y, S32* screen_x, S32* screen_y) const + { mCur->localPointToScreen(local_x, local_y, screen_x, screen_y); } + + bool isSelecting(); + LLTool* getCurrentTool() { return mCur; } + +protected: + void setCurrentTool( LLTool* new_tool ); + // In hover handler, call this to auto-switch tools + void setToolFromMask( MASK mask, LLTool *normal ); + +protected: + LLTool* mCur; // The tool to which we're delegating. + LLTool* mDefault; + bool mSelected; + bool mMouseDown; + LLManip* mManip; + LLToolSelectRect* mSelectRect; + +public: + static const std::string sNameComp; +}; + + +//----------------------------------------------------------------------- +// LLToolCompTranslate + +class LLToolCompInspect : public LLToolComposite, public LLSingleton +{ + LLSINGLETON(LLToolCompInspect); + virtual ~LLToolCompInspect(); +public: + + // Overridden from LLToolComposite + virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; + virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; + virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; + virtual bool handleKey(KEY key, MASK mask) override; + virtual void onMouseCaptureLost() override; + void keyUp(KEY key, MASK mask); + + static void pickCallback(const LLPickInfo& pick_info); + + bool isToolCameraActive() const { return mIsToolCameraActive; } + +private: + bool mIsToolCameraActive; +}; + +//----------------------------------------------------------------------- +// LLToolCompTranslate + +class LLToolCompTranslate : public LLToolComposite, public LLSingleton +{ + LLSINGLETON(LLToolCompTranslate); + virtual ~LLToolCompTranslate(); +public: + + // Overridden from LLToolComposite + virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; + virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; + virtual bool handleHover(S32 x, S32 y, MASK mask) override; + virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; // Returns to the default tool + virtual void render() override; + + virtual LLTool* getOverrideTool(MASK mask) override; + + static void pickCallback(const LLPickInfo& pick_info); +}; + +//----------------------------------------------------------------------- +// LLToolCompScale + +class LLToolCompScale : public LLToolComposite, public LLSingleton +{ + LLSINGLETON(LLToolCompScale); + virtual ~LLToolCompScale(); +public: + + // Overridden from LLToolComposite + virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; + virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; + virtual bool handleHover(S32 x, S32 y, MASK mask) override; + virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; // Returns to the default tool + virtual void render() override; + + virtual LLTool* getOverrideTool(MASK mask) override; + + static void pickCallback(const LLPickInfo& pick_info); +}; + + +//----------------------------------------------------------------------- +// LLToolCompRotate + +class LLToolCompRotate : public LLToolComposite, public LLSingleton +{ + LLSINGLETON(LLToolCompRotate); + virtual ~LLToolCompRotate(); +public: + + // Overridden from LLToolComposite + virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; + virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; + virtual bool handleHover(S32 x, S32 y, MASK mask) override; + virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; + virtual void render() override; + + virtual LLTool* getOverrideTool(MASK mask) override; + + static void pickCallback(const LLPickInfo& pick_info); + +protected: +}; + +//----------------------------------------------------------------------- +// LLToolCompCreate + +class LLToolCompCreate : public LLToolComposite, public LLSingleton +{ + LLSINGLETON(LLToolCompCreate); + virtual ~LLToolCompCreate(); +public: + + // Overridden from LLToolComposite + virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; + virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; + virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; + + static void pickCallback(const LLPickInfo& pick_info); +protected: + LLToolPlacer* mPlacer; + bool mObjectPlacedOnMouseDown; +}; + + +//----------------------------------------------------------------------- +// LLToolCompGun + +class LLToolGun; +class LLToolGrabBase; +class LLToolSelect; + +class LLToolCompGun : public LLToolComposite, public LLSingleton +{ + LLSINGLETON(LLToolCompGun); + virtual ~LLToolCompGun(); +public: + + // Overridden from LLToolComposite + virtual bool handleHover(S32 x, S32 y, MASK mask) override; + virtual bool handleMouseDown(S32 x, S32 y, MASK mask) override; + virtual bool handleDoubleClick(S32 x, S32 y, MASK mask) override; + virtual bool handleRightMouseDown(S32 x, S32 y, MASK mask) override; + virtual bool handleMouseUp(S32 x, S32 y, MASK mask) override; + virtual bool handleScrollWheel(S32 x, S32 y, S32 clicks) override; + virtual void onMouseCaptureLost() override; + virtual void handleSelect() override; + virtual void handleDeselect() override; + virtual LLTool* getOverrideTool(MASK mask) override { return NULL; } + +protected: + LLToolGun* mGun; + LLToolGrabBase* mGrab; + LLTool* mNull; +}; + + +#endif // LL_TOOLCOMP_H -- cgit v1.2.3