-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdrfxtypes.h
More file actions
53 lines (44 loc) · 1.39 KB
/
drfxtypes.h
File metadata and controls
53 lines (44 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#pragma once
#include <QObject>
#include <QString>
#ifdef Q_OS_MACOS
#define FUSION_MACRO_PATH QStringLiteral("Library/Application Support/Blackmagic Design/Fusion/Macros")
#define FUSION_TEMPLATE_PATH QStringLiteral("Library/Application Support/Blackmagic Design/Fusion/Templates")
#define FUSION_SCRIPT_PATH QStringLiteral("Library/Application Support/Blackmagic Design/Fusion/Scripts/Comp")
#define DAVINCI_MACRO_PATH QStringLiteral("Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Macros")
#define DAVINCI_TEMPLATE_PATH QStringLiteral("Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Templates")
#define DAVINCI_SCRIPT_PATH QStringLiteral("Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts/Comp")
#endif
#ifdef Q_OS_WINDOWS
#define FUSION_MACRO_PATH "TODO"
#define DAVINCI_MACRO_PATH "TODO"
#endif
#ifdef Q_OS_LINUX
#define FUSION_MACRO_PATH "TODO"
#define DAVINCI_MACRO_PATH "TODO"
#endif
#ifndef APP_TITLE
#define APP_TITLE QStringLiteral("EoF DRFX Builder")
#endif
enum TAppType {
ATNone = 0x00,
ATDavinci = 0x01,
ATFusion = 0x02,
ATBoth = (ATDavinci | ATFusion),
};
enum TNodeType {
NTNone,
NTStatic,
NTCompany,
NTProduct,
NTFileItem,
};
typedef struct
{
TNodeType type;
QString hash;
QString path;
QString name;
} TNodeData;
Q_DECLARE_METATYPE(TNodeType);
Q_DECLARE_METATYPE(TNodeData);