The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

77 lines
2.3KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. #ifndef JUCER_COMMONHEADERS_H_INCLUDED
  18. #define JUCER_COMMONHEADERS_H_INCLUDED
  19. //==============================================================================
  20. struct TargetOS
  21. {
  22. enum OS
  23. {
  24. windows = 0,
  25. osx,
  26. linux,
  27. unknown
  28. };
  29. static OS getThisOS() noexcept
  30. {
  31. #if JUCE_WINDOWS
  32. return windows;
  33. #elif JUCE_MAC
  34. return osx;
  35. #elif JUCE_LINUX
  36. return linux;
  37. #else
  38. return unknown;
  39. #endif
  40. }
  41. };
  42. typedef TargetOS::OS DependencyPathOS;
  43. //==============================================================================
  44. #include "../Utility/jucer_StoredSettings.h"
  45. #include "../Utility/jucer_Icons.h"
  46. #include "../Utility/jucer_MiscUtilities.h"
  47. #include "../Utility/jucer_CodeHelpers.h"
  48. #include "../Utility/jucer_FileHelpers.h"
  49. #include "../Utility/jucer_RelativePath.h"
  50. #include "../Utility/jucer_ValueSourceHelpers.h"
  51. #include "../Utility/jucer_PresetIDs.h"
  52. #include "jucer_CommandIDs.h"
  53. //==============================================================================
  54. const char* const projectItemDragType = "Project Items";
  55. const char* const drawableItemDragType = "Drawable Items";
  56. const char* const componentItemDragType = "Components";
  57. enum ColourIds
  58. {
  59. mainBackgroundColourId = 0x2340000,
  60. };
  61. #endif // JUCER_COMMONHEADERS_H_INCLUDED