/usr/include/tse3/cmd/FlagTrack.h is in libtse3-dev 0.3.1-4.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | /*
* @(#)cmd/FlagTrack.h 3.00 26 April 2002
*
* Copyright (c) 2002 Pete Goodliffe (pete@cthree.org)
*
* This file is part of TSE3 - the Trax Sequencer Engine version 3.00.
*
* This library is modifiable/redistributable under the terms of the GNU
* General Public License.
*
* You should have received a copy of the GNU General Public License along
* with this program; see the file COPYING. If not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
#ifndef TSE3_CMD_FLAG_H
#define TSE3_CMD_FLAG_H
#include "tse3/cmd/Command.h"
#include "tse3/FlagTrack.h"
#include <string>
#include <cstddef>
namespace TSE3
{
namespace Cmd
{
/**
* Command to add a @ref TSE3::Flag to a @ref TSE3::FlagTrack.
*
* @short Add @ref TSE3::Flag Command
* @author Pete Goodliffe
* @version 1.00
* @see Command
*/
class FlagTrack_Add : public Command
{
public:
FlagTrack_Add(TSE3::FlagTrack *flagTrack,
const TSE3::Event<TSE3::Flag> &flag);
protected:
/**
* @reimplemented
*/
virtual void executeImpl();
/**
* @reimplemented
*/
virtual void undoImpl();
private:
TSE3::FlagTrack *flagTrack;
const TSE3::Event<TSE3::Flag> flag;
size_t insertIndex;
};
}
}
#endif
|