forked from unixwitch/tts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.h
51 lines (44 loc) · 1.05 KB
/
functions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* TTS - track your time.
* Copyright (c) 2012-2014 Felicity Tarnell.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely. This software is provided 'as-is', without any express or implied
* warranty.
*/
#ifndef TTS_FUNCTIONS_H
#define TTS_FUNCTIONS_H
#include "wide.h"
void kadd(void);
void kaddold(void);
void kquit(void);
void kup(void);
void kdown(void);
void ktoggle(void);
void kinvoiced(void);
void kbillable(void);
void keddesc(void);
void kedtime(void);
void ktoggleinv(void);
void kcopy(void);
void kaddtime(void);
void kdeltime(void);
void khelp(void);
void kmark(void);
void kunmarkall(void);
void ksearch(void);
void kmarkdel(void);
void kundel(void);
void ksync(void);
void kexec(void);
void kmerge(void);
void kint(void);
typedef struct function {
const wchar_t *fn_name;
void (*fn_hdl) (void);
const wchar_t *fn_desc;
} function_t;
extern function_t funcs[];
function_t *find_func(const wchar_t *name);
#endif /* !TTS_FUNCTIONS_H */