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