[FarGroup/FarManager] master: Make style checks happy (b84e5ca22)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
May 30, 2024, 6:15:46 PMMay 30
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/b84e5ca22846cceb4995fca669012edd3c733a2a

>---------------------------------------------------------------

commit b84e5ca22846cceb4995fca669012edd3c733a2a
Author: Alex Alabuzhev <alab...@gmail.com>
Date: Thu May 30 23:11:25 2024 +0100

Make style checks happy


>---------------------------------------------------------------

b84e5ca22846cceb4995fca669012edd3c733a2a
far/far.vcxproj | 1 +
far/far.vcxproj.filters | 6 ++++++
far/macroapi.cpp | 2 +-
far/macroapi.hpp | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/far/far.vcxproj b/far/far.vcxproj
index f53bc6e97..064024478 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
<ClInclude Include="lockscrn.hpp" />
<ClInclude Include="log.hpp" />
<ClInclude Include="macro.hpp" />
+ <ClInclude Include="macroapi.hpp" />
<ClInclude Include="macroopcode.hpp" />
<ClInclude Include="macrovalues.hpp" />
<ClInclude Include="manager.hpp" />
diff --git a/far/far.vcxproj.filters b/far/far.vcxproj.filters
index 611770e05..cef9bd3fa 100644
--- a/far/far.vcxproj.filters
+++ b/far/far.vcxproj.filters
@@ -287,6 +287,9 @@
<ClCompile Include="macro.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="macroapi.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
<ClCompile Include="main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
@@ -907,6 +910,9 @@
<ClInclude Include="macro.hpp">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="macroapi.hpp">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="macroopcode.hpp">
<Filter>Header Files</Filter>
</ClInclude>
diff --git a/far/macroapi.cpp b/far/macroapi.cpp
index dab0bc83e..d6e17739d 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 000000000..85bd3f80f
--- /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


Reply all
Reply to author
Forward
0 new messages