13
0

Removed unused files from glade based NSD

git-svn-id: svn://localhost/ardour2/trunk@599 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Doug McLain 2006-06-15 00:49:16 +00:00
parent fb308dcfa9
commit 75508e90f0
5 changed files with 1 additions and 170 deletions

View File

@ -46,7 +46,7 @@ ARDOUR_UI::setup_config_options ()
struct {
char* name;
bool (Configuration::*method)(void) const;
char act_type; // (t)oggle or (r)adio
char act_type; //(t)oggle or (r)adio
} options[] = {
{ "ToggleTimeMaster", &Configuration::get_jack_time_master, 't' },
{ "StopPluginsWithTransport", &Configuration::get_plugins_stop_with_transport, 't' },

View File

@ -1,37 +0,0 @@
/*
Copyright (C) 2005 Paul Davis
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 of the License, 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 this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id$
*/
#include <iostream>
#include "glade_factory.h"
Glib::RefPtr<Gnome::Glade::Xml>
GladeFactory::create(const std::string& full_path_to_file,
const Glib::ustring& toplevel_widget)
{
try {
return Gnome::Glade::Xml::create(full_path_to_file,
toplevel_widget,
PACKAGE );
} catch(const Gnome::Glade::XmlError& ex) {
std::cerr << ex.what() << std::endl;
throw ex;
}
}

View File

@ -1,45 +0,0 @@
/*
Copyright (C) 2005 Paul Davis
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 of the License, 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 this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id$
*/
// -*- c++ -*-
#ifndef GLADE_FACTORY_H
#define GLADE_FACTORY_H
#include <string>
#include <libglademm/xml.h>
typedef Glib::RefPtr<Gnome::Glade::Xml> GladeRef;
/**
This is the base class for all glade
factories so that the same domain is
used.
*/
class GladeFactory {
protected:
static GladeRef
create(const std::string& full_path,
const Glib::ustring& toplevel_widget = Glib::ustring());
};
#endif // GLADE_FACTORY_H

View File

@ -1,38 +0,0 @@
/*
Copyright (C) 2005 Paul Davis
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 of the License, 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 this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id$
*/
#include <glibmm/fileutils.h>
#include <glibmm/miscutils.h>
#include <ardour/ardour.h>
#include "i18n.h"
#include "glade_path.h"
#include <iostream>
std::string
GladePath::path(const std::string& glade_file)
{
std::string full_path;
full_path = ARDOUR::find_data_file(glade_file, "glade");
return full_path;
}

View File

@ -1,49 +0,0 @@
/*
Copyright (C) 2005 Paul Davis
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 of the License, 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 this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id$
*/
#ifndef GLADE_PATH_H
#define GLADE_PATH_H
#include <string>
struct GladePath {
/**
@return Path to glade file.
XXX subject to change upon discussion.
glade files are currently looked for in
three possible directories in this order.
In the directory defined in the environment
variable ARDOUR_GLADE_PATH
In the users .ardour/glade directory.
In the system defined glade path.
*/
static std::string
path(const std::string& glade_filename);
};
#endif // GLADE_PATH_H