mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
add another missing file
This commit is contained in:
parent
d17ff944d7
commit
64a40a7bab
1 changed files with 49 additions and 0 deletions
49
libs/ardour/ardour/scene_change.h
Normal file
49
libs/ardour/ardour/scene_change.h
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
/*
|
||||
Copyright (C) 2014 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.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __libardour_scene_change_h__
|
||||
#define __libardour_scene_change_h__
|
||||
|
||||
#include "pbd/stateful.h"
|
||||
|
||||
#include "ardour/types.h"
|
||||
|
||||
namespace ARDOUR
|
||||
{
|
||||
|
||||
class SceneChange : public PBD::Stateful
|
||||
{
|
||||
public:
|
||||
SceneChange (framepos_t t) : _time (t) {};
|
||||
virtual ~SceneChange () {};
|
||||
|
||||
void set_time (framepos_t);
|
||||
framepos_t time() const { return _time; }
|
||||
|
||||
static boost::shared_ptr<SceneChange> factory (const XMLNode&, int version);
|
||||
static std::string xml_node_name;
|
||||
|
||||
private:
|
||||
framepos_t _time;
|
||||
};
|
||||
|
||||
} /* namespace */
|
||||
|
||||
|
||||
#endif /* __libardour_scene_change_h__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue