From 8fa31a1069687e052728e1cdf0ccef45f980b60c Mon Sep 17 00:00:00 2001 From: Wieczorek Bartosz Date: Thu, 26 Jan 2017 10:54:28 +0100 Subject: [PATCH] add new files --- .clang-format | 68 ++++++++++++++++++++++++++++++++++++++ src/eedb/db/CMakeLists.txt | 0 src/eedb/db/session.cpp | 0 src/eedb/db/session.hpp | 0 4 files changed, 68 insertions(+) create mode 100644 .clang-format create mode 100644 src/eedb/db/CMakeLists.txt create mode 100644 src/eedb/db/session.cpp create mode 100644 src/eedb/db/session.hpp diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..1f41b8d --- /dev/null +++ b/.clang-format @@ -0,0 +1,68 @@ +AccessModifierOffset: -2 +AlignAfterOpenBracket: false +AlignConsecutiveAssignments: true +# AlignConsecutiveDeclarations: false +AlignEscapedNewlinesLeft: true +AlignOperands: false +AlignTrailingComments: false +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +# AlwaysBreakAfterReturnType: None +AlwaysBreakBeforeMultilineStrings: true +AlwaysBreakTemplateDeclarations: true +BinPackArguments: true +BinPackParameters: true +BreakBeforeBinaryOperators: None +BreakBeforeBraces: Allman +BreakBeforeTernaryOperators: false +BreakConstructorInitializersBeforeComma: false +# BreakStringLiterals: false +ColumnLimit: 140 +# CommentPragmas: +ConstructorInitializerAllOnOneLineOrOnePerLine: true +ConstructorInitializerIndentWidth: 1 +ContinuationIndentWidth: 2 +Cpp11BracedListStyle: true +DerivePointerAlignment : false +DisableFormat: false +# ExperimentalAutoDetectBinPacking: false +ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] +# IncludeCategories: +# IncludeIsMainRegex: +IndentCaseLabels: true +IndentWidth: 4 +# IndentWrappedFunctionNames: +KeepEmptyLinesAtTheStartOfBlocks: false +Language: Cpp +# MacroBlockBegin: +# MacroBlockEnd: +MaxEmptyLinesToKeep: 1 +NamespaceIndentation: All +# PenaltyBreakBeforeFirstCallParameter: +# PenaltyBreakComment: +# PenaltyBreakFirstLessLess: +# PenaltyBreakString: +# PenaltyExcessCharacter: +# PenaltyReturnTypeOnItsOwnLine: +PointerAlignment: Middle +# ReflowComments: false +# SortIncludes: false +SpaceAfterCStyleCast: true +# SpaceAfterTemplateKeyword: true +SpaceBeforeAssignmentOperators: true +SpaceBeforeParens: Never +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +SpacesInAngles: true +SpacesInCStyleCastParentheses: true +SpacesInContainerLiterals: true +SpacesInParentheses: true +SpacesInSquareBrackets: true +Standard: Cpp11 +TabWidth: 4 +UseTab: ForIndentation + diff --git a/src/eedb/db/CMakeLists.txt b/src/eedb/db/CMakeLists.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/eedb/db/session.cpp b/src/eedb/db/session.cpp new file mode 100644 index 0000000..e69de29 diff --git a/src/eedb/db/session.hpp b/src/eedb/db/session.hpp new file mode 100644 index 0000000..e69de29