~ubuntu-branches/ubuntu/precise/gigedit/precise

« back to all changes in this revision

Viewing changes to src/gigedit/gigedit.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2011-02-08 23:43:24 UTC
  • mfrom: (3.1.2 natty)
  • Revision ID: james.westby@ubuntu.com-20110208234324-y4etux3ihk36apjf
Tags: 0.2.0-1
* Upload to unstable.
* debian/gbp.conf: Set sign-tags to True.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*                                                         -*- c++ -*-
2
 
 * Copyright (C) 2007 Andreas Persson
 
2
 * Copyright (C) 2007, 2008 Andreas Persson
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU General Public License as
27
27
 
28
28
class GigEdit {
29
29
public:
 
30
    GigEdit();
 
31
 
30
32
    int run(int argc, char* argv[]);
31
33
    int run(gig::Instrument* pInstrument);
32
34
 
38
40
    sigc::signal<void, gig::Region*>& signal_region_changed();
39
41
    sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_to_be_changed();
40
42
    sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_changed();
 
43
    sigc::signal<void, gig::Sample*>& signal_sample_changed();
41
44
    sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/>& signal_sample_ref_changed();
 
45
    sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_hit();
 
46
    sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_released();
 
47
 
 
48
    void on_note_on_event(int key, int velocity);
 
49
    void on_note_off_event(int key, int velocity);
42
50
 
43
51
private:
44
52
    sigc::signal<void, gig::File*> file_structure_to_be_changed_signal;
49
57
    sigc::signal<void, gig::Region*> region_changed_signal;
50
58
    sigc::signal<void, gig::DimensionRegion*> dimreg_to_be_changed_signal;
51
59
    sigc::signal<void, gig::DimensionRegion*> dimreg_changed_signal;
 
60
    sigc::signal<void, gig::Sample*> sample_changed_signal;
52
61
    sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/> sample_ref_changed_signal;
 
62
    sigc::signal<void, int/*key*/, int/*velocity*/> keyboard_key_hit_signal;
 
63
    sigc::signal<void, int/*key*/, int/*velocity*/> keyboard_key_released_signal;
 
64
    void* state;
53
65
};
54
66
 
55
67
#endif // GIGEDIT_H