28#ifndef AGS_ENGINE_PLUGIN_PLUGIN_ENGINE_H
29#define AGS_ENGINE_PLUGIN_PLUGIN_ENGINE_H
31#include "common/std/vector.h"
32#include "ags/engine/ac/dynobj/cc_script_object.h"
33#include "ags/engine/game/game_init.h"
34#include "ags/shared/game/plugin_info.h"
35#include "ags/shared/util/string.h"
57 : Type(type), Reader(reader) {}
61void pl_stop_plugins();
62void pl_startup_plugins();
64void pl_run_plugin_init_gfx_hooks(
const char *driverName,
void *data);
65int pl_run_plugin_debug_hooks(
const char *scriptfile,
int linenum);
69bool pl_query_next_plugin_for_event(
int event, uint32_t &pl_index,
Shared::String &pl_name);
71int pl_run_plugin_hook_by_index(uint32_t pl_index,
int event,
int data);
73int pl_run_plugin_hook_by_name(
Shared::String &pl_name,
int event,
int data);
77bool pl_is_plugin_loaded(
const char *pl_name);
80bool pl_any_want_hook(
int event);
83void pl_clear_file_handle();
85bool RegisterPluginStubs(
const char* name);
Definition: cc_script_object.h:121
Definition: plugin_engine.h:52