#include "support/strfwd.h"
-#include <boost/shared_ptr.hpp>
+#include "support/shared_ptr.h"
#include <vector>
/// Modifier masks
ModifierPair mod;
/// Keymap for prefix keys
- boost::shared_ptr<KeyMap> prefixes;
+ shared_ptr<KeyMap> prefixes;
/// Action for !prefix keys
FuncRequest func;
};
+ enum ReturnValues {
+ ReadOK,
+ ReadError,
+ FileError,
+ FormatMismatch
+ };
///
bool read(support::FileName const & bind_file, KeyMap * unbind_map = 0);
+ ///
+ ReturnValues readWithoutConv(support::FileName const & bind_file, KeyMap * unbind_map = 0);
/**
* Given an action, find all keybindings