mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 21:56:21 +00:00
42 lines
776 B
C
42 lines
776 B
C
/*
|
|
* stub_ai.c - Stubs for AI window functions
|
|
*/
|
|
|
|
#include "ui/window.h"
|
|
#include "ai/ai_client.h"
|
|
|
|
ProfWin*
|
|
win_create_ai(AISession* session)
|
|
{
|
|
/* Return NULL to simulate failure in unit tests */
|
|
(void)session;
|
|
return NULL;
|
|
}
|
|
|
|
void
|
|
aiwin_display_response(ProfAiWin* win, const char* response)
|
|
{
|
|
/* Stub: do nothing */
|
|
(void)win;
|
|
(void)response;
|
|
}
|
|
|
|
void
|
|
aiwin_display_error(ProfAiWin* win, const char* error_msg)
|
|
{
|
|
/* Stub: do nothing */
|
|
(void)win;
|
|
(void)error_msg;
|
|
}
|
|
|
|
void
|
|
win_print_outgoing(ProfWin* window, const char* show_char, const char* const id, const char* const replace_id, const char* const message)
|
|
{
|
|
/* Stub: do nothing */
|
|
(void)window;
|
|
(void)show_char;
|
|
(void)id;
|
|
(void)replace_id;
|
|
(void)message;
|
|
}
|