Add getIconPath to basePlayer
This commit is contained in:
parent
b0944c8aa3
commit
e01580f67c
@ -67,6 +67,14 @@ class BasePlayer(object):
|
|||||||
def isValidPlayerPath(path):
|
def isValidPlayerPath(path):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
'''
|
||||||
|
@type path: string
|
||||||
|
@return: string
|
||||||
|
'''
|
||||||
|
@staticmethod
|
||||||
|
def getIconPath(path):
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
||||||
'''
|
'''
|
||||||
@type path: string
|
@type path: string
|
||||||
@return: string
|
@return: string
|
||||||
@ -86,6 +94,10 @@ class DummyPlayer(BasePlayer):
|
|||||||
def isValidPlayerPath(path):
|
def isValidPlayerPath(path):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def getIconPath(path):
|
||||||
|
return None
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def getExpandedPath(path):
|
def getExpandedPath(path):
|
||||||
return path
|
return path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user