KeymapExample.cpp File Reference

Example of the SReadline wrapper usage with keymaps. More...

#include <iostream>
#include <vector>
#include <string>
#include <map>
#include <list>
#include "SReadline.h"

Include dependency graph for KeymapExample.cpp:

Go to the source code of this file.

Namespaces

namespace  swift

Functions

const string Prompt ("Please input your command> ")
SReadline Reader ("/tmp/.testhist", 32)
SKeymap Keymap1 (emacs_standard_keymap)
SKeymap Keymap2 (false)
int PrintInfo (int Count, int Key)
int SwitchToKeymap2 (int Count, int Key)
int SwitchToKeymap1 (int Count, int Key)
int main (int argc, char **argv)


Detailed Description

Example of the SReadline wrapper usage with keymaps.

Definition in file KeymapExample.cpp.


Generated on Mon May 8 21:58:07 2006 for Keymaps and SReadline wrapper usage example by  doxygen 1.4.5