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:
authorSybren A. Stüvel <sybren@blender.org>2020-06-19 15:31:04 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-06-19 16:30:18 +0300
commit1a448c66edf26ceb4fc4f0daad7375f0ae5f84cf (patch)
tree8bc31f56bf512f56c99a32d7179e1aac0ac761f5 /source/blender/io/alembic/intern/abc_util.h
parent89b7f785e64275819bd7372f6b47f1cc9225078f (diff)
Cleanup: Alembic, move the C++ code to `blender::io::alembic` namespace
This commit only moves code into the `blender::io::alembic` namespace, it does not move `static` functions into an anonymous namespace. No functional changes.
Diffstat (limited to 'source/blender/io/alembic/intern/abc_util.h')
-rw-r--r--source/blender/io/alembic/intern/abc_util.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/source/blender/io/alembic/intern/abc_util.h b/source/blender/io/alembic/intern/abc_util.h
index 8a5763bb38b..fbad1cce306 100644
--- a/source/blender/io/alembic/intern/abc_util.h
+++ b/source/blender/io/alembic/intern/abc_util.h
@@ -41,12 +41,16 @@ struct CacheReader {
using Alembic::Abc::chrono_t;
-class AbcObjectReader;
-struct ImportSettings;
-
struct ID;
struct Object;
+namespace blender {
+namespace io {
+namespace alembic {
+
+class AbcObjectReader;
+struct ImportSettings;
+
std::string get_id_name(const ID *const id);
std::string get_id_name(const Object *const ob);
std::string get_valid_abc_name(const char *name);
@@ -165,4 +169,8 @@ class SimpleLogger {
*/
std::ostream &operator<<(std::ostream &os, const SimpleLogger &logger);
+} // namespace alembic
+} // namespace io
+} // namespace blender
+
#endif /* __ABC_UTIL_H__ */