Interface

HsGameBoyCore

Description [src]

interface Hs.GameBoyCore : Hs.Core

An interface for Game Boy and Game Boy Color cores.

Defines functions specific to Game Boy and Game Boy Color.

Available firmware IDs: HsGameBoyFirmware.

Prerequisite

In order to implement GameBoyCore, your type must inherit fromHsCore.

Instance methods

hs_game_boy_core_emit_print_done

Notifies frontend when a Game Boy Printer print is done.

hs_game_boy_core_emit_print_started

Notifies frontend when a Game Boy Printer print is started.

hs_game_boy_core_set_accessory

Sets the Game Boy accessory.

hs_game_boy_core_set_model

Sets the Game Boy model.

Signals

Hs.GameBoyCore::print-done

Emitted when Game Boy Printer print is done.

Hs.GameBoyCore::print-started

Emitted when Game Boy Printer print starts.

Interface structure

struct HsGameBoyCoreInterface {
  GTypeInterface parent;
  void (* set_model) (
    HsGameBoyCore* self,
    HsGameBoyModel model
  );
  void (* set_accessory) (
    HsGameBoyCore* self,
    HsGameBoyAccessory accessory
  );
  
}

No description available.

Interface members
parent
GTypeInterface
 

No description available.

set_model
void (* set_model) (
    HsGameBoyCore* self,
    HsGameBoyModel model
  )
 

No description available.

set_accessory
void (* set_accessory) (
    HsGameBoyCore* self,
    HsGameBoyAccessory accessory
  )
 

No description available.

Virtual methods

Hs.GameBoyCore.set_accessory

Sets the Game Boy accessory.

Hs.GameBoyCore.set_model

Sets the Game Boy model.