communication.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * communication.h - header file defining stuff concerning communication between
  3. * LVSL-server and -client
  4. *
  5. * Copyright (c) 2005-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
  6. *
  7. * This file is part of LMMS - https://lmms.io
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public
  11. * License as published by the Free Software Foundation; either
  12. * version 2 of the License, or (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public
  20. * License along with this program (see COPYING); if not, write to the
  21. * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  22. * Boston, MA 02110-1301 USA.
  23. *
  24. */
  25. #ifndef _COMMUNICATION_H
  26. #define _COMMUNICATION_H
  27. struct VstParameterDumpItem
  28. {
  29. int32_t index;
  30. std::string shortLabel;
  31. float value;
  32. } ;
  33. enum VstHostLanguages
  34. {
  35. LanguageEnglish = 1,
  36. LanguageGerman,
  37. LanguageFrench,
  38. LanguageItalian,
  39. LanguageSpanish,
  40. LanguageJapanese,
  41. LanguageKorean
  42. } ;
  43. enum VstRemoteMessageIDs
  44. {
  45. // vstPlugin -> remoteVstPlugin
  46. IdVstLoadPlugin = IdUserBase,
  47. IdVstClosePlugin,
  48. IdVstSetTempo,
  49. IdVstSetLanguage,
  50. IdVstGetParameterCount,
  51. IdVstGetParameterDump,
  52. IdVstSetParameterDump,
  53. IdVstProgramNames,
  54. IdVstCurrentProgram,
  55. IdVstCurrentProgramName,
  56. IdVstSetProgram,
  57. IdVstRotateProgram,
  58. IdVstIdleUpdate,
  59. // remoteVstPlugin -> vstPlugin
  60. IdVstFailedLoadingPlugin,
  61. IdVstPluginWindowID,
  62. IdVstPluginEditorGeometry,
  63. IdVstPluginName,
  64. IdVstPluginVersion,
  65. IdVstPluginVendorString,
  66. IdVstPluginProductString,
  67. IdVstPluginPresetsString,
  68. IdVstPluginUniqueID,
  69. IdVstSetParameter,
  70. IdVstParameterCount,
  71. IdVstParameterDump
  72. } ;
  73. #endif