Add getExpandedPath to baseplayer/dummyplayer

This commit is contained in:
Etoh 2013-10-14 09:05:47 +01:00
parent d0073c00ff
commit 1f1ef4cf1b

View File

@ -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