Back to index

easystroke  0.5.5.1
Classes | Defines | Typedefs | Functions | Variables
actiondb.h File Reference
#include <string>
#include <map>
#include <set>
#include <boost/serialization/access.hpp>
#include <boost/serialization/version.hpp>
#include <boost/serialization/split_member.hpp>
#include <iostream>
#include "gesture.h"
#include "prefdb.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Action
class  Command
class  ModAction
class  SendKey
class  SendText
class  Scroll
class  Ignore
class  Button
class  Misc
class  StrokeSet
class  Click
class  StrokeInfo
class  Ranking
class  Unique
class  ActionListDiff
class  ActionDB
class  ActionDBWatcher

Defines

#define IS_KEY(act)   (act && dynamic_cast<SendKey *>(act.get()))
#define IS_SCROLL(act)   (act && dynamic_cast<Scroll *>(act.get()))
#define IS_IGNORE(act)   (act && dynamic_cast<Ignore *>(act.get()))
#define IF_BUTTON(act, b)   if (unsigned int b = Button::get_button(act))
#define IS_CLICK(act)   (act && dynamic_cast<Click *>(act.get()))

Typedefs

typedef boost::shared_ptr< ActionRAction
typedef boost::shared_ptr
< Command
RCommand
typedef boost::shared_ptr
< SendKey
RSendKey
typedef boost::shared_ptr
< SendText
RSendText
typedef boost::shared_ptr< ScrollRScroll
typedef boost::shared_ptr< IgnoreRIgnore
typedef boost::shared_ptr< ButtonRButton
typedef boost::shared_ptr< MiscRMisc
typedef boost::shared_ptr
< Ranking
RRanking
typedef boost::shared_ptr
< Modifiers
RModifiers
typedef boost::shared_ptr
< StrokeInfo
RStrokeInfo

Functions

void update_actions ()

Variables

ActionDB actions

Define Documentation

#define IF_BUTTON (   act,
 
)    if (unsigned int b = Button::get_button(act))

Definition at line 166 of file actiondb.h.

#define IS_CLICK (   act)    (act && dynamic_cast<Click *>(act.get()))

Definition at line 193 of file actiondb.h.

#define IS_IGNORE (   act)    (act && dynamic_cast<Ignore *>(act.get()))

Definition at line 144 of file actiondb.h.

#define IS_KEY (   act)    (act && dynamic_cast<SendKey *>(act.get()))

Definition at line 107 of file actiondb.h.

#define IS_SCROLL (   act)    (act && dynamic_cast<Scroll *>(act.get()))

Definition at line 133 of file actiondb.h.


Typedef Documentation

typedef boost::shared_ptr<Action> RAction

Definition at line 37 of file actiondb.h.

typedef boost::shared_ptr<Button> RButton

Definition at line 45 of file actiondb.h.

typedef boost::shared_ptr<Command> RCommand

Definition at line 40 of file actiondb.h.

typedef boost::shared_ptr<Ignore> RIgnore

Definition at line 44 of file actiondb.h.

typedef boost::shared_ptr<Misc> RMisc

Definition at line 46 of file actiondb.h.

typedef boost::shared_ptr<Modifiers> RModifiers

Definition at line 51 of file actiondb.h.

typedef boost::shared_ptr<Ranking> RRanking

Definition at line 47 of file actiondb.h.

typedef boost::shared_ptr<Scroll> RScroll

Definition at line 43 of file actiondb.h.

typedef boost::shared_ptr<SendKey> RSendKey

Definition at line 41 of file actiondb.h.

typedef boost::shared_ptr<SendText> RSendText

Definition at line 42 of file actiondb.h.

typedef boost::shared_ptr<StrokeInfo> RStrokeInfo

Definition at line 205 of file actiondb.h.


Function Documentation

void update_actions ( )

Definition at line 192 of file actiondb.cc.

                      {
       action_dummy.set(false);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 393 of file actiondb.cc.