/* -*- c++ -*- * Copyright (C) 2007 Andreas Persson * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with program; see the file COPYING. If not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA. */ #ifndef GIGEDIT_H #define GIGEDIT_H #include #include #include class GigEdit { public: int run(); int run(const char* pFileName); int run(gig::Instrument* pInstrument); sigc::signal signal_file_structure_to_be_changed(); sigc::signal signal_file_structure_changed(); sigc::signal > signal_samples_to_be_removed(); sigc::signal signal_samples_removed(); sigc::signal signal_region_to_be_changed(); sigc::signal signal_region_changed(); sigc::signal signal_dimreg_to_be_changed(); sigc::signal signal_dimreg_changed(); sigc::signal signal_sample_ref_changed(); private: sigc::signal file_structure_to_be_changed_signal; sigc::signal file_structure_changed_signal; sigc::signal > samples_to_be_removed_signal; sigc::signal samples_removed_signal; sigc::signal region_to_be_changed_signal; sigc::signal region_changed_signal; sigc::signal dimreg_to_be_changed_signal; sigc::signal dimreg_changed_signal; sigc::signal sample_ref_changed_signal; }; #endif // GIGEDIT_H