Browse Source

Build fixes

Signed-off-by: falkTX <falktx@falktx.com>
pull/349/head
falkTX 4 years ago
parent
commit
064b43cbed
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 14 additions and 0 deletions
  1. +6
    -0
      dgl/Window.hpp
  2. +8
    -0
      distrho/DistrhoUI.hpp

+ 6
- 0
dgl/Window.hpp View File

@@ -57,7 +57,13 @@ class Window

public:
#ifndef DGL_FILE_BROWSER_DISABLED
# ifdef DISTRHO_FILE_BROWSER_DIALOG_EXTRA_NAMESPACE
using FileBrowserHandle = DISTRHO_NAMESPACE::DISTRHO_FILE_BROWSER_DIALOG_EXTRA_NAMESPACE::FileBrowserHandle;
using FileBrowserOptions = DISTRHO_NAMESPACE::DISTRHO_FILE_BROWSER_DIALOG_EXTRA_NAMESPACE::FileBrowserOptions;
# else
using FileBrowserHandle = DISTRHO_NAMESPACE::FileBrowserHandle;
using FileBrowserOptions = DISTRHO_NAMESPACE::FileBrowserOptions;
# endif
#endif

/**


+ 8
- 0
distrho/DistrhoUI.hpp View File

@@ -188,6 +188,14 @@ public:
#endif

#ifndef DGL_FILE_BROWSER_DISABLED
# ifdef DISTRHO_FILE_BROWSER_DIALOG_EXTRA_NAMESPACE
using FileBrowserHandle = DISTRHO_NAMESPACE::DISTRHO_FILE_BROWSER_DIALOG_EXTRA_NAMESPACE::FileBrowserHandle;
using FileBrowserOptions = DISTRHO_NAMESPACE::DISTRHO_FILE_BROWSER_DIALOG_EXTRA_NAMESPACE::FileBrowserOptions;
# else
using FileBrowserHandle = DISTRHO_NAMESPACE::FileBrowserHandle;
using FileBrowserOptions = DISTRHO_NAMESPACE::FileBrowserOptions;
# endif

/**
Open a file browser dialog with this window as transient parent.@n
A few options can be specified to setup the dialog.


Loading…
Cancel
Save