/usr/include/tse3/plt/Factory.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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | /*
* @(#)plt/Unix.h 3.00 15 October 1999
*
* Copyright (c) 2000 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_PLT_UNIX_H
#define TSE3_PLT_UNIX_H
#include "tse3/MidiScheduler.h"
namespace TSE3
{
/**
* The Plt namespace contains classes that provide particular
* platform @ref TSE3::MidiScheduler classes for different hardware
* or software platforms.
*
* @short @ref TSE3::MidiScheduler platform implementations
* @author Pete Goodliffe
* @version 3.00
* @see TSE3
*/
namespace Plt
{
/**
* This is the set of Unix platform additional APIs for the
* @ref MidiSchedulerFactory.
*
* The MidiSchedulerFactory will (depending on availablity and
* compile-time options) create either:
* @li An @ref OSSMidiScheduler
* @li An @ref AlsaMidiScheduler
* @li An @ref ArtsMidiScheduler
*
* @short Unix platform MidiSchedulerFactory settings
* @author Pete Goodliffe
* @version 1.00
*/
namespace UnixMidiSchedulerFactory
{
/**
* enum type describing a type of Unix @ref MidiScheduler
* class.
*/
enum UnixPlatform
{
UnixPlatform_OSS,
UnixPlatform_Alsa,
UnixPlatform_Arts,
UnixPlatform_Null
};
/**
* Returns the currently set preferred platform.
*
* The default is UnixPlatform_Alsa.
*
* @return Preferred platform
* @see setPreferredPlatform
*/
UnixPlatform preferredPlatform();
/**
* Sets the preferred platform. You will need to call
* this prior to the @ref createScheduler method being
* called if you require behaviour different from the default.
*
* The default is UnixPlatform_Alsa.
*
* @param p Preferred platform type
* @see preferredPlatform
*/
void setPreferredPlatform(UnixPlatform p);
/**
* Returns the type of platform that has been created by the
* MidiScheduler.
*
* The result is only valid after @ref createScheduler has been
* called, and if the MidiSchedulerFactory really is a Unix
* version.
*/
UnixPlatform createdPlatform();
}
}
}
#endif
|