* BufferView_pimpl.h: delete LyXKeySymPtr typedef
* kbmap.h: include LyXKeysym.h and remove forward declaration of LyXKeySym,
and delete LyXKeySymPtr typedef
* kbsequence.h:
* frontends/WorkArea.h: delete LyXKeySymPtr typedef, include LyXKeySym.h
and don't include boost/shared_ptr.hpp, remove forward declaration of
LyXKeySym.
* frontends/LyXKeySym.h: include boost/shared_ptr.hpp, and add typedef
for LyXKeySymPtr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13663
a592a061-630c-0410-9148-
cb99ea01b6c8
/// Wheel mouse scroll, move by multiples of text->defaultRowHeight().
void scroll(int lines);
///
- typedef boost::shared_ptr<LyXKeySym> LyXKeySymPtr;
- ///
void workAreaKeyPress(LyXKeySymPtr key, key_modifier::state state);
///
void selectionRequested();
#include "key_state.h"
+#include <boost/shared_ptr.hpp>
+
/**
* This is a base class for representing a keypress.
* Each frontend has to implement this to provide
*/
bool operator==(LyXKeySym const & k1, LyXKeySym const & k2);
+typedef boost::shared_ptr<LyXKeySym> LyXKeySymPtr;
+
#endif
#define WORKAREA_H
#include "frontends/key_state.h"
+#include "frontends/LyXKeySym.h"
-#include <boost/shared_ptr.hpp>
#include <boost/signal.hpp>
class Painter;
class FuncRequest;
-class LyXKeySym;
/**
* The work area class represents the widget that provides the
*/
class WorkArea {
public:
- typedef boost::shared_ptr<LyXKeySym> LyXKeySymPtr;
-
WorkArea() {}
virtual ~WorkArea() {}
#include "funcrequest.h"
#include "frontends/key_state.h"
+#include "frontends/LyXKeySym.h"
#include <boost/shared_ptr.hpp>
#include <deque>
class kb_sequence;
-class LyXKeySym;
/// Defines key maps and actions for key sequences
class kb_keymap {
/// print all available keysyms
std::string const print() const;
- ///
- typedef boost::shared_ptr<LyXKeySym> LyXKeySymPtr;
/**
* Look up a key press in the keymap.
* @param key the keysym
#define KBSEQUENCE_H
#include "frontends/key_state.h"
-
-#include <boost/shared_ptr.hpp>
+#include "frontends/LyXKeySym.h"
#include <string>
#include <vector>
class kb_keymap;
-class LyXKeySym;
class FuncRequest;
/// Holds a key sequence and the current and standard keymaps
class kb_sequence {
public:
- typedef boost::shared_ptr<LyXKeySym> LyXKeySymPtr;
typedef std::vector<LyXKeySymPtr> KeySequence;
friend class kb_keymap;
/// return the status bar state string
std::string const viewStatusMessage();
- ///
- typedef boost::shared_ptr<LyXKeySym> LyXKeySymPtr;
///
void processKeySym(LyXKeySymPtr key, key_modifier::state state);