Updated core
[LibreOffice.git] / config_host / config_features.h.in
blob5d8e2d09683df7d2eb0cb6c5571582993c7b9f07
1 /* Configuration of high-level features that either 1) depend on the
2 * platform (but are common to several platforms so just checking for
3 * the feature is simpler than checking for several platforms), or 2)
4 * are build-time configurable.
5 */
7 #ifndef CONFIG_FEATURES_H
8 #define CONFIG_FEATURES_H
10 /* DESKTOP - Whether we have a "normal" desktop UI or not.
12 * Non-DESKTOP in practice means touch-based mobile devices, Android
13 * or iOS for now. Support for those is work in pogress.
15 * Non-DESKTOP implies that the OS makes sure that only one instance
16 * of each LibreOffice-based "app" at a time can be running, and thus
17 * the LibreOffice code does not need to handle such things itself.
19 * Non-DESKTOP implies no traditional inter-app drag and drop concept.
21 * Non-DESKTOP implies no traditional help mechanism, and to some
22 * extent (as noticed, and as possible without making the code too
23 * ugly) the related code is ifdeffed out.
26 #define HAVE_FEATURE_DESKTOP 0
28 /* EXTENSIONS - Whether we have any extension mechanism at all
30 * Primarily intended for non-desktop platforms where supporting
31 * extensions can be complicated, or even prohibited by the OS (as on
32 * iOS).
35 #define HAVE_FEATURE_EXTENSIONS 0
37 /* MULTIUSER_ENVIRONMENT - Wheter running on a "normal" multi-user
38 * desktop (or server) OS
40 * Non-MULTIUSER implies that the OS makes sure that only one
41 * LibreOffice-based process at a time can be running that could
42 * access the same local documents, and that thus no locking of local
43 * documents is needed, and that no "shared documents" in Calc
44 * is meaningful.
46 * Non-MULTIUSER in practice means Android or iOS for now, so thus is
47 * work in progress.
50 #define HAVE_FEATURE_MULTIUSER_ENVIRONMENT 0
52 #endif