Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-04-15 10:37:50 +0300
committerJacques Lucke <jacques@blender.org>2021-04-15 10:37:50 +0300
commit5ec39fc2e484a7e3d5e2e0ecb1bef0b428a7b7a7 (patch)
tree7b01d3cfa1796599bff11d6dc48415d33b95c7af /source/blender/editors/space_spreadsheet/spreadsheet_context.hh
parentbbea79ce5eadff621dcca668487cd1248b0433aa (diff)
Cleanup: rename file
Internally we use the name "context (path)" instead of "breadcrumb". This was missing from a rename in the original patch.
Diffstat (limited to 'source/blender/editors/space_spreadsheet/spreadsheet_context.hh')
-rw-r--r--source/blender/editors/space_spreadsheet/spreadsheet_context.hh27
1 files changed, 27 insertions, 0 deletions
diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_context.hh b/source/blender/editors/space_spreadsheet/spreadsheet_context.hh
new file mode 100644
index 00000000000..d71769e42b3
--- /dev/null
+++ b/source/blender/editors/space_spreadsheet/spreadsheet_context.hh
@@ -0,0 +1,27 @@
+/*
+ * This program 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 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#pragma once
+
+#include "DNA_space_types.h"
+
+namespace blender::ed::spreadsheet {
+
+SpreadsheetContext *spreadsheet_context_new(eSpaceSpreadsheet_ContextType type);
+SpreadsheetContext *spreadsheet_context_copy(const SpreadsheetContext *old_context);
+void spreadsheet_context_free(SpreadsheetContext *context);
+
+} // namespace blender::ed::spreadsheet