mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-30 21:27:53 +01:00
Add TomahawkUrlType
This commit is contained in:
parent
2793e4cc29
commit
65e1c530cf
@ -78,6 +78,14 @@ var TomahawkResolverCapability = {
|
|||||||
UrlLookup: 8
|
UrlLookup: 8
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var TomahawkUrlType = {
|
||||||
|
Any: 0,
|
||||||
|
Playlist: 1,
|
||||||
|
Track: 2,
|
||||||
|
Album: 4,
|
||||||
|
Artist: 8
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
// Resolver BaseObject, inherit it to implement your own resolver
|
// Resolver BaseObject, inherit it to implement your own resolver
|
||||||
var TomahawkResolver = {
|
var TomahawkResolver = {
|
||||||
|
@ -74,6 +74,15 @@ public:
|
|||||||
Q_DECLARE_FLAGS( Capabilities, Capability )
|
Q_DECLARE_FLAGS( Capabilities, Capability )
|
||||||
Q_FLAGS( Capabilities )
|
Q_FLAGS( Capabilities )
|
||||||
|
|
||||||
|
enum UrlType
|
||||||
|
{
|
||||||
|
Any = 0x00,
|
||||||
|
Playlist = 0x01,
|
||||||
|
Track = 0x02,
|
||||||
|
Album = 0x04,
|
||||||
|
Artist = 0x08
|
||||||
|
};
|
||||||
|
|
||||||
ExternalResolver( const QString& filePath )
|
ExternalResolver( const QString& filePath )
|
||||||
: m_commandQueue( new ScriptCommandQueue( this ) )
|
: m_commandQueue( new ScriptCommandQueue( this ) )
|
||||||
{ m_filePath = filePath; }
|
{ m_filePath = filePath; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user