2019-03-26 03:18:00 +00:00
|
|
|
// Prototypes for functions that react to environment variable changes
|
|
|
|
#ifndef FISH_ENV_DISPATCH_H
|
|
|
|
#define FISH_ENV_DISPATCH_H
|
|
|
|
|
|
|
|
#include "config.h" // IWYU pragma: keep
|
|
|
|
|
2019-10-13 22:50:48 +00:00
|
|
|
#include <memory>
|
|
|
|
|
2019-03-26 03:18:00 +00:00
|
|
|
#include "common.h"
|
|
|
|
#include "env_universal_common.h"
|
|
|
|
|
2019-04-01 02:11:52 +00:00
|
|
|
/// Initialize variable dispatch.
|
2019-04-01 02:51:08 +00:00
|
|
|
class environment_t;
|
|
|
|
void env_dispatch_init(const environment_t &vars);
|
2019-03-26 03:18:00 +00:00
|
|
|
|
|
|
|
class env_stack_t;
|
2019-04-08 19:37:38 +00:00
|
|
|
void env_dispatch_var_change(const wcstring &key, env_stack_t &vars);
|
2019-03-26 03:18:00 +00:00
|
|
|
void guess_emoji_width();
|
|
|
|
|
|
|
|
void env_universal_callbacks(env_stack_t *stack, const callback_data_list_t &callbacks);
|
|
|
|
|
|
|
|
#endif
|