mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-17 02:43:04 +00:00
C++: Add a mechanism to #define features that are enabled (#3103)
This commit is contained in:
parent
0b867f4564
commit
a1bf77383f
6 changed files with 58 additions and 24 deletions
|
|
@ -3,11 +3,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "slint.h"
|
||||
|
||||
#ifndef SLINT_FEATURE_EXPERIMENTAL
|
||||
# warning "slint_platform.h API only available when SLINT_FEATURE_EXPERIMENTAL is activated"
|
||||
#else
|
||||
|
||||
# include "slint.h"
|
||||
# include <utility>
|
||||
|
||||
struct xcb_connection_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue