macro.h File Reference

#include <deque>
#include "enum.h"

Include dependency graph for macro.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  key_recorder
class  pause_all_key_recorders

Typedefs

typedef std::deque< int > keyseq

Functions

int getchm (int(*rgetch)()=NULL)
int getchm (KeymapContext context, int(*rgetch)()=NULL)
int getch_with_command_macros (void)
void flush_input_buffer (int reason)
void macro_add_query ()
void macro_init ()
void macro_save ()
void macro_clear_buffers ()
void macro_userfn (const char *keys, const char *registryname)
void macro_sendkeys_end_add_expanded (int key)
void macro_sendkeys_start_add_expanded (int key)
void macro_buf_add (int key, bool reverse=false, bool expanded=true)
void macro_buf_add (const keyseq &actions, bool reverse=false, bool expanded=true)
int macro_buf_get ()
void macro_buf_add_cmd (command_type cmd, bool reverse=false)
bool is_userfunction (int key)
bool is_synthetic_key (int key)
std::string get_userfunction (int key)
void add_key_recorder (key_recorder *recorder)
void remove_key_recorder (key_recorder *recorder)
bool is_processing_macro ()
int get_macro_buf_size ()
void init_keybindings ()
command_type name_to_command (std::string name)
std::string command_to_name (command_type cmd)
command_type key_to_command (int key, KeymapContext context)
int command_to_key (command_type cmd)
KeymapContext context_for_command (command_type cmd)
void bind_command_to_key (command_type cmd, int key)
std::string command_to_string (command_type cmd)
void insert_commands (std::string &desc, std::vector< command_type > cmds, bool formatted=true)
void insert_commands (std::string &desc, const int first,...)


Typedef Documentation

typedef std::deque<int> keyseq


Function Documentation

void add_key_recorder ( key_recorder recorder  ) 

void bind_command_to_key ( command_type  cmd,
int  key 
)

Here is the call graph for this function:

int command_to_key ( command_type  cmd  ) 

Here is the call graph for this function:

std::string command_to_name ( command_type  cmd  ) 

std::string command_to_string ( command_type  cmd  ) 

Here is the call graph for this function:

KeymapContext context_for_command ( command_type  cmd  ) 

void flush_input_buffer ( int  reason  ) 

Here is the call graph for this function:

int get_macro_buf_size (  ) 

std::string get_userfunction ( int  key  ) 

int getch_with_command_macros ( void   ) 

Here is the call graph for this function:

int getchm ( KeymapContext  context,
int(*)()  rgetch = NULL 
)

Here is the call graph for this function:

int getchm ( int(*)()  rgetch = NULL  ) 

Here is the call graph for this function:

void init_keybindings (  ) 

Here is the call graph for this function:

void insert_commands ( std::string desc,
const int  first,
  ... 
)

Here is the call graph for this function:

void insert_commands ( std::string desc,
std::vector< command_type cmds,
bool  formatted = true 
)

Here is the call graph for this function:

bool is_processing_macro (  ) 

bool is_synthetic_key ( int  key  ) 

bool is_userfunction ( int  key  ) 

command_type key_to_command ( int  key,
KeymapContext  context 
)

Here is the call graph for this function:

void macro_add_query (  ) 

Here is the call graph for this function:

void macro_buf_add ( const keyseq actions,
bool  reverse = false,
bool  expanded = true 
)

void macro_buf_add ( int  key,
bool  reverse = false,
bool  expanded = true 
)

void macro_buf_add_cmd ( command_type  cmd,
bool  reverse = false 
)

Here is the call graph for this function:

int macro_buf_get (  ) 

void macro_clear_buffers (  ) 

Here is the call graph for this function:

void macro_init (  ) 

Here is the call graph for this function:

void macro_save (  ) 

Here is the call graph for this function:

void macro_sendkeys_end_add_expanded ( int  key  ) 

void macro_sendkeys_start_add_expanded ( int  key  ) 

Here is the call graph for this function:

void macro_userfn ( const char *  keys,
const char *  registryname 
)

command_type name_to_command ( std::string  name  ) 

void remove_key_recorder ( key_recorder recorder  ) 


Generated on Thu Jan 13 13:09:16 2011 by  doxygen 1.5.6