// -*- C++ -*-
/**
* \file kbsequence.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
*/
#ifndef KBSEQUENCE_H
#define KBSEQUENCE_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include <config.h>
-
#include "frontends/key_state.h"
#include "frontends/LyXKeySym.h"
#include "LString.h"
class kb_sequence {
public:
typedef std::vector<LyXKeySymPtr> KeySequence;
-
+
friend class kb_keymap;
///
/// Mark the sequence as deleted.
void mark_deleted();
- /**
- * Return the value of the last keysym in the sequence
- * in the local ISO encoding. If it does not encode
- * in this encoding, return 0.
- */
- char getLastKeyEncoded() const;
-
/// Reset sequence to become "deleted"
void reset();
kb_keymap * curmap;
private:
- /// get the keysym of last in sequence
- LyXKeySymPtr getsym() const;
-
/**
* Array holding the current key sequence as KeySyms.
- * If sequence[length-1] < 0xff it can be used as ISO8859 char
+ * If sequence[length - 1] < 0xff it can be used as ISO8859 char
*/
KeySequence sequence;