From b84e5ca22846cceb4995fca669012edd3c733a2a Mon Sep 17 00:00:00 2001 From: Alex Alabuzhev Date: Thu, 30 May 2024 23:11:25 +0100 Subject: [PATCH] Make style checks happy --- far/far.vcxproj | 1 + far/far.vcxproj.filters | 6 +++++ far/macroapi.cpp | 2 +- far/macroapi.hpp | 49 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 far/macroapi.hpp diff --git a/far/far.vcxproj b/far/far.vcxproj index f53bc6e97d..064024478f 100644 --- a/far/far.vcxproj +++ b/far/far.vcxproj @@ -365,6 +365,7 @@ cl /nologo /c /Fo"$(IntDir)%(Filename)_c++.testobj" /TP api_test.c + diff --git a/far/far.vcxproj.filters b/far/far.vcxproj.filters index 611770e052..cef9bd3fab 100644 --- a/far/far.vcxproj.filters +++ b/far/far.vcxproj.filters @@ -287,6 +287,9 @@ Source Files + + Source Files + Source Files @@ -907,6 +910,9 @@ Header Files + + Header Files + Header Files diff --git a/far/macroapi.cpp b/far/macroapi.cpp index dab0bc83ee..d6e17739db 100644 --- a/far/macroapi.cpp +++ b/far/macroapi.cpp @@ -35,7 +35,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "platform.headers.hpp" // Self: -#include "macro.hpp" +#include "macroapi.hpp" // Internal: #include "clipboard.hpp" diff --git a/far/macroapi.hpp b/far/macroapi.hpp new file mode 100644 index 0000000000..85bd3f80f2 --- /dev/null +++ b/far/macroapi.hpp @@ -0,0 +1,49 @@ +#ifndef MACROAPI_HPP_A760B3C7_ED4C_4CB1_9171_3A9A0D7D242B +#define MACROAPI_HPP_A760B3C7_ED4C_4CB1_9171_3A9A0D7D242B +#pragma once + +/* +macroapi.hpp + +Macro API +*/ +/* +Copyright © 1996 Eugene Roshal +Copyright © 2000 Far Group +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the authors may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +// Internal: +#include "macro.hpp" + +// Platform: + +// Common: + +// External: + +//---------------------------------------------------------------------------- + +#endif // MACROAPI_HPP_A760B3C7_ED4C_4CB1_9171_3A9A0D7D242B