ufe 7.0
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
LookdevXUfe.h
Go to the documentation of this file.
1#line 1 "W:/build/RelWithDebInfo/extensions/LookdevXUfe/include/LookdevXUfe.h"
2#ifndef UFE_LDX_LOOKDEVXUFE_H
3#define UFE_LDX_LOOKDEVXUFE_H
4
5// ===========================================================================
6// Copyright 2025 Autodesk, Inc. All rights reserved.
7//
8// The use of this software is subject to the Autodesk Terms of Use or other
9// license agreement provided at the time of installation or download, or
10// which otherwise accompanies this software.
11// ===========================================================================
12
13#define LOOKDEVXUFE_MAJOR_VERSION 2
14#define LOOKDEVXUFE_MINOR_VERSION 0
15#define LOOKDEVXUFE_PATCH_LEVEL 0
16
17// LookdevXUfe public namespace string will never change.
18#define LOOKDEVXUFE_NS LookdevXUfe
19// C preprocessor trickery to expand arguments.
20#define LOOKDEVXUFE_CONCAT(A, B) LOOKDEVXUFE_CONCAT_IMPL(A, B)
21#define LOOKDEVXUFE_CONCAT_IMPL(A, B) A##B
22// Versioned namespace includes the major version number.
23#define LOOKDEVXUFE_VERSIONED_NS LOOKDEVXUFE_CONCAT(LOOKDEVXUFE_NS, _v2)
24
26// With a using namespace declaration, pull in the versioned namespace into the
27// Ufe public namespace, to allow client code to use the plain LookdevXUfe namespace,
28// e.g. LookdevXUfe::FileHandler.
29namespace LOOKDEVXUFE_NS {
30 using namespace LOOKDEVXUFE_VERSIONED_NS;
31}
32
33// Macros to place the LookdevXUfe symbols in the versioned namespace, which is how
34// they will appear in the shared library, e.g. LookdevXUfe_v1::FileHandler.
35#ifdef DOXYGEN
36#define LOOKDEVXUFE_NS_DEF namespace LOOKDEVXUFE_NS
37#else
38#define LOOKDEVXUFE_NS_DEF namespace LOOKDEVXUFE_VERSIONED_NS
39#endif
40
41#endif /* UFE_LDX_LOOKDEVXUFE_H */
#define LOOKDEVXUFE_NS
Definition: LookdevXUfe.h:18
#define LOOKDEVXUFE_VERSIONED_NS
Definition: LookdevXUfe.h:23