/[svn]/linuxsampler/trunk/src/plugins/InstrumentEditor.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/plugins/InstrumentEditor.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1875 by schoenebeck, Sun Feb 3 00:13:27 2008 UTC revision 1876 by schoenebeck, Fri Mar 27 12:16:12 2009 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2007, 2008 Christian Schoenebeck                        *   *   Copyright (C) 2007 - 2009 Christian Schoenebeck                       *
4   *                                                                         *   *                                                                         *
5   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
6   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 67  namespace LinuxSampler { Line 67  namespace LinuxSampler {
67           *                    (i.e. @c "libgig" )           *                    (i.e. @c "libgig" )
68           * @param sTypeVersion - version of the instrument data structure           * @param sTypeVersion - version of the instrument data structure
69           *                       (i.e. @c "3.0.1" ).           *                       (i.e. @c "3.0.1" ).
70             * @param pUserData - (optional) arbitrary 3rd party data that might
71             *                    been passed by Launch()
72           */           */
73          virtual int Main(void* pInstrument, String sTypeName, String sTypeVersion) = 0;          virtual int Main(void* pInstrument, String sTypeName, String sTypeVersion, void* pUserData = NULL) = 0;
74    
75          /**          /**
76           * The instrument editor has to return @c true in case it supports           * The instrument editor has to return @c true in case it supports
# Line 191  namespace LinuxSampler { Line 193  namespace LinuxSampler {
193           * Launch the instrument editor for the given instrument. The           * Launch the instrument editor for the given instrument. The
194           * editor will be spawned in its own thread and this method will           * editor will be spawned in its own thread and this method will
195           * return as soon as the editor's thread actually started.           * return as soon as the editor's thread actually started.
196             *
197             * @param pUserData - (optional) arbitrary 3rd party data that might
198             *                    e.g. been passed by
199             *                    InstrumentManager::LaunchInstrumentEditor()
200           */           */
201          void Launch(void* pInstrument, String sTypeName, String sTypeVersion);          void Launch(void* pInstrument, String sTypeName, String sTypeVersion, void* pUserData = NULL);
202    
203          /**          /**
204           * Registers object that wants to be notified on events.           * Registers object that wants to be notified on events.
# Line 223  namespace LinuxSampler { Line 229  namespace LinuxSampler {
229          void*    pInstrument;          void*    pInstrument;
230          String   sTypeName;          String   sTypeName;
231          String   sTypeVersion;          String   sTypeVersion;
232            void*    pUserData;
233      };      };
234    
235      /** @brief Instrument Editor Notifications      /** @brief Instrument Editor Notifications

Legend:
Removed from v.1875  
changed lines
  Added in v.1876

  ViewVC Help
Powered by ViewVC