Add getExpandedPath to baseplayer/dummyplayer
This commit is contained in:
parent
d0073c00ff
commit
1f1ef4cf1b
@ -66,6 +66,14 @@ class BasePlayer(object):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def isValidPlayerPath(path):
|
def isValidPlayerPath(path):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
'''
|
||||||
|
@type path: string
|
||||||
|
@return: string
|
||||||
|
'''
|
||||||
|
@staticmethod
|
||||||
|
def getExpandedPath(path):
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
|
||||||
class DummyPlayer(BasePlayer):
|
class DummyPlayer(BasePlayer):
|
||||||
@ -76,4 +84,8 @@ class DummyPlayer(BasePlayer):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def isValidPlayerPath(path):
|
def isValidPlayerPath(path):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def getExpandedPath(path):
|
||||||
|
return path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user