Curated source subset assembled by klammertext-dev's doc/make_dist.sh: the Klammermachine (mac), the Standard Klammer Set (sks), the commands (com), editor plugins and install guides (doc), a test subset (tst), and lib/bin placeholders. Builds with 'make -C com'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
345 B
C++
18 lines
345 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <map>
|
|
|
|
#include "ktype.h"
|
|
|
|
enum class defmode_t { def_create, def_override, def_default };
|
|
|
|
struct defmode_result {
|
|
bool replace;
|
|
bool warn;
|
|
std::string message;
|
|
};
|
|
|
|
defmode_t defmode_from_katom(katom_t type);
|
|
const defmode_result& defmode_transition(defmode_t existing, defmode_t incoming);
|