# Path: ice/model.py
# ROM = collections.namedtuple('ROM', [
#   'name',
#   'path',
#   'console',
# ])
# 
# Path: ice/roms.py
# ICE_FLAG_TAG = "~ManagedByIce"
# def roms_directory(config):
# def rom_shortcut_name(rom):
# def rom_to_shortcut(rom):


import collections
import os
import random
import shutil
import tempfile
from pysteam import model as steam_model
from pysteam import paths
from ice import model
from ice import roms
  ),
  "snes": model.Console(
    fullname = 'Super Nintendo',
    shortname = 'SNES',
    extensions = 'snes',
    custom_roms_directory = '/external/consoles/roms/snes',
    prefix = '',
    icon = '/consoles/icons/snes.png',
    images_directory = '/consoles/grid/snes/',
    emulator = emulators.mednafen
  ),
  # HACK: We're cheating a bit here. For a tiny while Ice would automatically
  # add an extra category to shortcuts to let itself know whether it should be
  # responsibile for removing said shortcut if the exe went missing. We don't
  # do this anymore, but we may still want to test things which have the
  # special category attached. To work around this, we make a test console
  # with a fullname set to the flag, so that the automatically added category
  # has the flag tag.
  "flagged": model.Console(
    fullname = roms.ICE_FLAG_TAG,
    shortname = 'flagged',
    extensions = '',
    custom_roms_directory = '',
    prefix = '',
    icon = '',
    images_directory = '',
    emulator = emulators.mednafen,
  )
})


# Path: ice/model.py
# ROM = collections.namedtuple('ROM', [
#   'name',
#   'path',
#   'console',
# ])
# 
# Path: ice/roms.py
# ICE_FLAG_TAG = "~ManagedByIce"
# def roms_directory(config):
# def rom_shortcut_name(rom):
# def rom_to_shortcut(rom):


# Path: tests/testinfra/fixtures.py
import collections
import os
import random
import shutil
import tempfile
from pysteam import model as steam_model
from pysteam import paths
from ice import model
from ice import roms

  ),
  "snes": model.Console(
    fullname = 'Super Nintendo',
    shortname = 'SNES',
    extensions = 'snes',
    custom_roms_directory = '/external/consoles/roms/snes',
    prefix = '',
    icon = '/consoles/icons/snes.png',
    images_directory = '/consoles/grid/snes/',
    emulator = emulators.mednafen
  ),
  # HACK: We're cheating a bit here. For a tiny while Ice would automatically
  # add an extra category to shortcuts to let itself know whether it should be
  # responsibile for removing said shortcut if the exe went missing. We don't
  # do this anymore, but we may still want to test things which have the
  # special category attached. To work around this, we make a test console
  # with a fullname set to the flag, so that the automatically added category
  # has the flag tag.
  "flagged": model.Console(
    fullname = roms.ICE_FLAG_TAG,
    shortname = 'flagged',
    extensions = '',
    custom_roms_directory = '',
    prefix = '',
    icon = '',
    images_directory = '',
    emulator = emulators.mednafen,
  )
})


roms = DataFixture({