#include "KeySequence.h"
#include "lfuns.h"
-#include "TextClass_ptr.h"
+#include "TextClass.h"
#include "support/docstring.h"
-#include <boost/signals/trackable.hpp>
-
namespace lyx {
class Buffer;
keyboard or from the GUI. All GUI objects, including buttons and
menus should use this class and never call kernel functions directly.
*/
-class LyXFunc : public boost::signals::trackable {
+class LyXFunc
+{
public:
///
explicit LyXFunc();
docstring const viewStatusMessage();
///
- void processKeySym(KeySymbol const & key, key_modifier::state state);
+ void processKeySym(KeySymbol const & key, KeyModifier state);
///
FuncStatus getStatus(FuncRequest const & action) const;
///
KeySequence cancel_meta_seq;
///
- key_modifier::state meta_fake_bit;
+ KeyModifier meta_fake_bit;
/// Error status, only Dispatch can change this flag
mutable bool errorstat;
///
bool ensureBufferClean(BufferView * bv);
///
- void updateLayout(TextClass_ptr const & oldlayout, Buffer * buffer);
+ void updateLayout(TextClassPtr const & oldlayout, Buffer * buffer);
};
/// Implementation is in LyX.cpp