Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.7KB

  1. /*
  2. * Cross-platform C++ library for Carla, based on Juce v4
  3. * Copyright (C) 2015 ROLI Ltd.
  4. * Copyright (C) 2017-2020 Filipe Coelho <falktx@falktx.com>
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation; either version 2 of
  9. * the License, or any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * For a full copy of the GNU General Public License see the doc/GPL.txt file.
  17. */
  18. #include "common.hpp"
  19. //==============================================================================
  20. namespace water
  21. {
  22. #ifdef CARLA_OS_WIN
  23. static HINSTANCE currentModuleHandle = nullptr;
  24. HINSTANCE getCurrentModuleInstanceHandle() noexcept
  25. {
  26. if (currentModuleHandle == nullptr)
  27. currentModuleHandle = GetModuleHandleA (nullptr);
  28. return currentModuleHandle;
  29. }
  30. #endif
  31. }
  32. #include "files/DirectoryIterator.cpp"
  33. #include "files/File.cpp"
  34. #include "misc/Result.cpp"
  35. #include "misc/Time.cpp"
  36. #include "text/CharacterFunctions.cpp"
  37. #include "text/StringArray.cpp"
  38. #include "text/String.cpp"
  39. #if defined(DEBUG) || !defined(BUILDING_CARLA_FOR_WINE)
  40. # include "files/FileInputStream.cpp"
  41. # include "files/FileOutputStream.cpp"
  42. # include "files/TemporaryFile.cpp"
  43. # include "maths/Random.cpp"
  44. # include "memory/MemoryBlock.cpp"
  45. # include "streams/InputStream.cpp"
  46. # include "streams/MemoryOutputStream.cpp"
  47. # include "streams/OutputStream.cpp"
  48. #endif