Begginings of XML validation
This commit is contained in:
@@ -56,13 +56,10 @@ public:
|
||||
DataFile( const QByteArray& data );
|
||||
DataFile( Type type );
|
||||
|
||||
/// \brief fileTypeFromData
|
||||
/// Reads the given file and checks the xml for the type
|
||||
/// returns UnknownType if the file is not reconised
|
||||
static DataFile::Type fileTypeFromData( const QString fileName);
|
||||
|
||||
virtual ~DataFile();
|
||||
|
||||
bool validate( QString extension );
|
||||
|
||||
QString nameWithExtension( const QString& fn ) const;
|
||||
|
||||
void write( QTextStream& strm );
|
||||
|
||||
@@ -35,7 +35,7 @@ class PreviewTrackContainer;
|
||||
class EXPORT PresetPreviewPlayHandle : public PlayHandle
|
||||
{
|
||||
public:
|
||||
PresetPreviewPlayHandle( const QString& presetFile, bool loadByPlugin = false );
|
||||
PresetPreviewPlayHandle( const QString& presetFile, bool loadByPlugin = false, DataFile *dataFile = 0 );
|
||||
virtual ~PresetPreviewPlayHandle();
|
||||
|
||||
virtual void play( sampleFrame* buffer );
|
||||
|
||||
Reference in New Issue
Block a user