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

Annotation of /gigedit/trunk/src/gigedit/gigedit.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1322 - (hide annotations) (download) (as text)
Tue Sep 4 11:04:56 2007 UTC (16 years, 7 months ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 2356 byte(s)
* as counterpart to latest LS commit: added experimental support to
  synchronize gigedit with LinuxSampler to avoid race conditions / crash
  while modifying data structures and playing the instrument with LS at
  the same time
* packaging fixes: don't use a hard coded path to install the LS plugin
  DLL, trying to substitute the given LS plugin directory by the
  '${libdir}' automake variable (mandatory i.e. for Gentoo ebuild) and
  include plugin/linuxsamplerplugin.h into the release tarball
  ('make dist')
* updated German translation (po/de.po)

1 schoenebeck 1225 /* -*- c++ -*-
2     * Copyright (C) 2007 Andreas Persson
3     *
4     * This program is free software; you can redistribute it and/or
5     * modify it under the terms of the GNU General Public License as
6     * published by the Free Software Foundation; either version 2, or (at
7     * your option) any later version.
8     *
9     * This program is distributed in the hope that it will be useful, but
10     * WITHOUT ANY WARRANTY; without even the implied warranty of
11     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12     * General Public License for more details.
13     *
14     * You should have received a copy of the GNU General Public License
15     * along with program; see the file COPYING. If not, write to the Free
16     * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
17     * 02110-1301 USA.
18     */
19    
20     #ifndef GIGEDIT_H
21     #define GIGEDIT_H
22    
23     #include <gig.h>
24    
25 schoenebeck 1322 #include <list>
26     #include <sigc++/signal.h>
27    
28 schoenebeck 1225 class GigEdit {
29     public:
30 schoenebeck 1322 int run();
31     int run(const char* pFileName);
32     int run(gig::Instrument* pInstrument);
33    
34     sigc::signal<void, gig::File*> signal_file_structure_to_be_changed();
35     sigc::signal<void, gig::File*> signal_file_structure_changed();
36     sigc::signal<void, std::list<gig::Sample*> > signal_samples_to_be_removed();
37     sigc::signal<void> signal_samples_removed();
38     sigc::signal<void, gig::Region*> signal_region_to_be_changed();
39     sigc::signal<void, gig::Region*> signal_region_changed();
40     sigc::signal<void, gig::DimensionRegion*> signal_dimreg_to_be_changed();
41     sigc::signal<void, gig::DimensionRegion*> signal_dimreg_changed();
42     sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/> signal_sample_ref_changed();
43    
44     private:
45     sigc::signal<void, gig::File*> file_structure_to_be_changed_signal;
46     sigc::signal<void, gig::File*> file_structure_changed_signal;
47     sigc::signal<void, std::list<gig::Sample*> > samples_to_be_removed_signal;
48     sigc::signal<void> samples_removed_signal;
49     sigc::signal<void, gig::Region*> region_to_be_changed_signal;
50     sigc::signal<void, gig::Region*> region_changed_signal;
51     sigc::signal<void, gig::DimensionRegion*> dimreg_to_be_changed_signal;
52     sigc::signal<void, gig::DimensionRegion*> dimreg_changed_signal;
53     sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/> sample_ref_changed_signal;
54 schoenebeck 1225 };
55    
56     #endif // GIGEDIT_H

  ViewVC Help
Powered by ViewVC