Add getIconPath to basePlayer

This commit is contained in:
Etoh 2013-10-15 00:49:48 +01:00
parent b0944c8aa3
commit e01580f67c

View File

@ -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
@ -85,7 +93,11 @@ class DummyPlayer(BasePlayer):
@staticmethod @staticmethod
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