Blender V4.3
FreestyleConfig.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
12#include <string>
13
14/* Part of `BLI_sys_types.h`, declare here as BLI is not in the include path. */
15typedef unsigned int uint;
16typedef unsigned short ushort;
17typedef unsigned long ulong;
18typedef unsigned char uchar;
19
20using namespace std;
21
22namespace Freestyle {
23
24namespace Config {
25
26/* Directory separators. */
27
28/* TODO: Use Blender's stuff for such things! */
29#ifdef WIN32
30static const string DIR_SEP("\\");
31static const string PATH_SEP(";");
32#else
33static const string DIR_SEP("/");
34static const string PATH_SEP(":");
35#endif // WIN32
36
37} // end of namespace Config
38
39} /* namespace Freestyle */
unsigned char uchar
unsigned long ulong
unsigned int uint
unsigned short ushort
static const string PATH_SEP(":")
inherits from class Rep
Definition AppCanvas.cpp:20
#define DIR_SEP
Definition path.cpp:29