communication.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. IdVstParameterDisplays,
  60. IdVstParameterLabels,
  61. // remoteVstPlugin -> vstPlugin
  62. IdVstFailedLoadingPlugin,
  63. IdVstPluginWindowID,
  64. IdVstPluginEditorGeometry,
  65. IdVstPluginName,
  66. IdVstPluginVersion,
  67. IdVstPluginVendorString,
  68. IdVstPluginProductString,
  69. IdVstPluginPresetsString,
  70. IdVstPluginUniqueID,
  71. IdVstSetParameter,
  72. IdVstParameterCount,
  73. IdVstParameterDump
  74. } ;
  75. #endif