mirror of
https://github.com/matrix-construct/construct
synced 2024-11-10 20:11:07 +01:00
modules/m_typing: Minor cleanup.
This commit is contained in:
parent
c580d42da2
commit
225d030145
1 changed files with 6 additions and 3 deletions
|
@ -29,8 +29,11 @@ struct typist
|
||||||
bool operator()(const typist &a, const typist &b) const;
|
bool operator()(const typist &a, const typist &b) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
ctx::dock timeout_dock;
|
ctx::dock
|
||||||
std::set<typist, typist> typists;
|
timeout_dock;
|
||||||
|
|
||||||
|
std::set<typist, typist>
|
||||||
|
typists;
|
||||||
|
|
||||||
conf::item<milliseconds>
|
conf::item<milliseconds>
|
||||||
timeout_max
|
timeout_max
|
||||||
|
@ -48,8 +51,8 @@ timeout_min
|
||||||
|
|
||||||
static system_point calc_timesout(milliseconds relative);
|
static system_point calc_timesout(milliseconds relative);
|
||||||
static bool update_state(const m::typing &);
|
static bool update_state(const m::typing &);
|
||||||
extern "C" m::event::id::buf commit(const m::typing &edu);
|
|
||||||
extern "C" bool for_each(const m::typing::closure_bool &);
|
extern "C" bool for_each(const m::typing::closure_bool &);
|
||||||
|
extern "C" m::event::id::buf commit(const m::typing &edu);
|
||||||
|
|
||||||
//
|
//
|
||||||
// typing commit handler stack (local user)
|
// typing commit handler stack (local user)
|
||||||
|
|
Loading…
Reference in a new issue