/*
- * Copyright (C) 2006 Paul Davis
+ * Copyright (C) 2006 Paul Davis
* Copyright (C) 2007 Michael Taht
*
* This program is free software; you can redistribute it and/or modify
* 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.
- *
+ *
*/
#include <iostream>
#include <float.h>
#include <sys/time.h>
#include <errno.h>
-#include <ardour/route.h>
-#include <ardour/audio_track.h>
-#include <ardour/session.h>
-#include <ardour/location.h>
-#include <ardour/dB.h>
+#include "ardour/route.h"
+#include "ardour/audio_track.h"
+#include "ardour/session.h"
+#include "ardour/location.h"
+#include "ardour/dB.h"
using namespace ARDOUR;
using namespace std;
using namespace sigc;
using namespace PBD;
-#include "i18n.h"
+#include "pbd/i18n.h"
-#include <pbd/abstract_ui.cc>
+#include "pbd/abstract_ui.cc"
#include "tranzport_control_protocol.h"
// FIXME: How to handle multiple tranzports in a system?
XMLNode&
-TranzportControlProtocol::get_state ()
+TranzportControlProtocol::get_state ()
{
- XMLNode* node = new XMLNode (X_("Protocol"));
- node->add_property (X_("name"), _name);
- return *node;
+ return ControlProtocol::get_state();
}
int
int retval = 0;
// I think I want to make these strings rather than numbers
-#if 0
+#if 0
// fetch current display mode
if ( node.property( X_("display_mode") ) != 0 )
{
return -1;
}
}
-#endif
+#endif
return retval;
// And perhaps we could load up sessions this way, too
int
-TranzportControlProtocol::save (char *name)
+TranzportControlProtocol::save (char *name)
{
// Presently unimplemented
return 0;
}
int
-TranzportControlProtocol::load (char *name)
+TranzportControlProtocol::load (char *name)
{
// Presently unimplemented
return 0;
}
int
-TranzportControlProtocol::save_config (char *name)
+TranzportControlProtocol::save_config (char *name)
{
// Presently unimplemented
return 0;
}
int
-TranzportControlProtocol::load_config (char *name)
+TranzportControlProtocol::load_config (char *name)
{
// Presently unimplemented
return 0;