Skip to content

Commit

Permalink
Make style checks happy
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed May 30, 2024
1 parent 014a574 commit b84e5ca
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1 deletion.
1 change: 1 addition & 0 deletions far/far.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down
6 changes: 6 additions & 0 deletions far/far.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion far/macroapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
49 changes: 49 additions & 0 deletions far/macroapi.hpp
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b84e5ca

Please sign in to comment.