This repository has been archived by the owner on Dec 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bd3709a
Showing
13 changed files
with
1,048 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
BasedOnStyle: LLVM | ||
IndentWidth: 4 | ||
--- | ||
Language: Cpp | ||
TabWidth: 4 | ||
ContinuationIndentWidth: 2 | ||
UseTab: ForIndentation | ||
ColumnLimit: 100 | ||
|
||
AccessModifierOffset: -4 | ||
NamespaceIndentation: All | ||
IndentCaseLabels: true | ||
|
||
SpaceBeforeParens: ControlStatements | ||
PointerAlignment: Right | ||
|
||
AllowShortFunctionsOnASingleLine: Inline | ||
AllowShortCaseLabelsOnASingleLine: true | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# http://EditorConfig.org | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
|
||
[*.{hpp,cpp,h,c}] | ||
indent_style = tab | ||
indent_size = 4 | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# Derived files | ||
/build | ||
|
||
# Editor | ||
*~ | ||
*.swp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
Copyright (c) 2017 yvt | ||
This file is part of OSVoxlap. | ||
OSVoxlap is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
OSVoxlap 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 General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with OSVoxlap. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
#include "Context.h" | ||
namespace osvlp { | ||
Context::Context() {} | ||
Context::~Context() {} | ||
|
||
void Context::Initialize(const OSSWRendererPluginParam &) { | ||
// TODO | ||
} | ||
|
||
const char *Context::GetLastError() { return m_lastError.c_str(); } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
Copyright (c) 2017 yvt | ||
This file is part of OSVoxlap. | ||
OSVoxlap is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
OSVoxlap 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 General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with OSVoxlap. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
#pragma once | ||
|
||
#include <string> | ||
|
||
#include "OSSWRendererPlugin.h" | ||
|
||
namespace osvlp { | ||
class Context { | ||
public: | ||
Context(); | ||
~Context(); | ||
|
||
void Initialize(const OSSWRendererPluginParam &); | ||
|
||
const char *GetLastError(); | ||
|
||
private: | ||
std::string m_lastError; | ||
}; | ||
} |
Oops, something went wrong.