/[svn]/gigedit/trunk/src/gigedit/gigedit.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/gigedit.h

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

revision 1853 by schoenebeck, Sun Mar 1 22:26:36 2009 UTC revision 2689 by schoenebeck, Sun Jan 4 17:19:19 2015 UTC
# Line 1  Line 1 
1  /*                                                         -*- c++ -*-  /*                                                         -*- c++ -*-
2   * Copyright (C) 2007, 2008 Andreas Persson   * Copyright (C) 2007-2015 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 23  Line 23 
23  #include <gig.h>  #include <gig.h>
24    
25  #include <list>  #include <list>
26    #include <cstddef>
27  #include <sigc++/signal.h>  #include <sigc++/signal.h>
28    
29  class GigEdit {  class GigEdit {
# Line 44  public: Line 45  public:
45      sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/>& signal_sample_ref_changed();      sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/>& signal_sample_ref_changed();
46      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_hit();      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_hit();
47      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_released();      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_released();
48        sigc::signal<void, gig::Instrument*>& signal_switch_sampler_instrument();
49    
50      void on_note_on_event(int key, int velocity);      void on_note_on_event(int key, int velocity);
51      void on_note_off_event(int key, int velocity);      void on_note_off_event(int key, int velocity);
# Line 61  private: Line 63  private:
63      sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/> sample_ref_changed_signal;      sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/> sample_ref_changed_signal;
64      sigc::signal<void, int/*key*/, int/*velocity*/> keyboard_key_hit_signal;      sigc::signal<void, int/*key*/, int/*velocity*/> keyboard_key_hit_signal;
65      sigc::signal<void, int/*key*/, int/*velocity*/> keyboard_key_released_signal;      sigc::signal<void, int/*key*/, int/*velocity*/> keyboard_key_released_signal;
66        sigc::signal<void, gig::Instrument*> switch_sampler_instrument_signal;
67      void* state;      void* state;
68  };  };
69    

Legend:
Removed from v.1853  
changed lines
  Added in v.2689

  ViewVC Help
Powered by ViewVC