# Path: memshark_config.py
# class MemsharkConfig():	
# 	def __init__(self, configPath):
# 		with open(configPath) as json_file:    
# 			self.get = json.load(json_file)
# 		self.wii_u_ip = self.get['wii_u_ip']		
# 		self.window_width = self.get['window_width']
# 		self.window_height = self.get['window_height']
# 
# Path: games.py
# class Games():
# 	def __init__(self, gamesPath):
# 		self.games = []
# 		self.game_lookup = {}		
# 		for root,dirs,files in os.walk(gamesPath):
# 			for file in files:
# 				gamePath = os.path.join(root,file)			
# 				game = Game(file, gamePath)
# 				self.games.append(game)
# 				self.game_lookup[game.name] = game
# 
# Path: gui/gui.py
# class MainApp:
# class MainWindow:
#     def __init__(self, config, games, memshark, exploit_server):
#     def start(self):
#     def __init__(self, master, config, games, memshark, exploit_server):
# 
# Path: background/background.py
# def background():
# 	running = True
# 	while running:
# 		task.background()
# 		item = None
# 		try:
# 			item = task.get_queue().get(timeout=1)
# 		except Exception:
# 			swallow = True
# 		if item != None:
# 			if item == "kill_thread":
# 				running = False
# 			else:								
# 				task.handle_message(item)
# 
# Path: background/memshark.py
# class Memshark():
# 	def __init__(self, config):
# 	def connect(self):
# 	def disconnect(self):
# 	def poke(self, target):
# 	def is_connected(self):
# 	def handle_message(self, message):
# 	def background(self):
# 
# Path: background/server.py
# class ExploitHandler(BaseHTTPRequestHandler):
# class ExploitServer():
#     def do_GET(self):
#     def __init__(self):
#     def start(self):
#     def stop(self):
#     def get_listen_url(self):
#     def handle_message(self, message):
#     def background(self):


from memshark_config import MemsharkConfig
from games import Games
from gui import gui
from background import background, memshark, server

config = MemsharkConfig('config.json')
games = Games('games')
memshark = memshark.Memshark(config)
exploit_server = server.ExploitServer()

background.schedule(memshark)

# Path: memshark_config.py
# class MemsharkConfig():	
# 	def __init__(self, configPath):
# 		with open(configPath) as json_file:    
# 			self.get = json.load(json_file)
# 		self.wii_u_ip = self.get['wii_u_ip']		
# 		self.window_width = self.get['window_width']
# 		self.window_height = self.get['window_height']
# 
# Path: games.py
# class Games():
# 	def __init__(self, gamesPath):
# 		self.games = []
# 		self.game_lookup = {}		
# 		for root,dirs,files in os.walk(gamesPath):
# 			for file in files:
# 				gamePath = os.path.join(root,file)			
# 				game = Game(file, gamePath)
# 				self.games.append(game)
# 				self.game_lookup[game.name] = game
# 
# Path: gui/gui.py
# class MainApp:
# class MainWindow:
#     def __init__(self, config, games, memshark, exploit_server):
#     def start(self):
#     def __init__(self, master, config, games, memshark, exploit_server):
# 
# Path: background/background.py
# def background():
# 	running = True
# 	while running:
# 		task.background()
# 		item = None
# 		try:
# 			item = task.get_queue().get(timeout=1)
# 		except Exception:
# 			swallow = True
# 		if item != None:
# 			if item == "kill_thread":
# 				running = False
# 			else:								
# 				task.handle_message(item)
# 
# Path: background/memshark.py
# class Memshark():
# 	def __init__(self, config):
# 	def connect(self):
# 	def disconnect(self):
# 	def poke(self, target):
# 	def is_connected(self):
# 	def handle_message(self, message):
# 	def background(self):
# 
# Path: background/server.py
# class ExploitHandler(BaseHTTPRequestHandler):
# class ExploitServer():
#     def do_GET(self):
#     def __init__(self):
#     def start(self):
#     def stop(self):
#     def get_listen_url(self):
#     def handle_message(self, message):
#     def background(self):


# Path: main.py
from memshark_config import MemsharkConfig
from games import Games
from gui import gui
from background import background, memshark, server


config = MemsharkConfig('config.json')
games = Games('games')
memshark = memshark.Memshark(config)
exploit_server = server.ExploitServer()

background.schedule(memshark)

background.schedule(exploit_server)