trade.h 431 B

123456789101112131415161718192021
  1. #ifndef TRADE_H
  2. #define TRADE_H
  3. #pragma once
  4. #include <gui/view.h>
  5. #include <src/include/pokemon_data.h>
  6. void* trade_alloc(
  7. PokemonData* pdata,
  8. void* gblink_handle,
  9. ViewDispatcher* view_dispatcher,
  10. uint32_t view_id);
  11. void trade_free(ViewDispatcher* view_dispatcher, uint32_t view_id, void* trade_ctx);
  12. void trade_reset_connection(void* trade_ctx);
  13. bool trade_connected(void* trade_ctx);
  14. #endif /* TRADE_H */