File: std_tools.c

package info (click to toggle)
camv-rnd 1.1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,824 kB
  • sloc: ansic: 35,928; sh: 686; makefile: 476; yacc: 110; awk: 3
file content (29 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (2)
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

#include <librnd/config.h>

#include <string.h>

#include <librnd/core/global_typedefs.h>
#include <librnd/core/hidlib.h>
#include <librnd/hid/tool.h>

static const char std_tools_cookie[] = "std_tools";

#include "tool_mline.c"
#include "tool_mobj.c"
#include "tool_arrow.c"

int pplg_check_ver_std_tools(int ver_needed) { return 0; }

void pplg_uninit_std_tools(void)
{
}

int pplg_init_std_tools(void)
{
	rnd_tool_reg(&camv_rnd_tool_arrow, std_tools_cookie);
	rnd_tool_reg(&camv_rnd_tool_mline, std_tools_cookie);
	rnd_tool_reg(&camv_rnd_tool_mobj, std_tools_cookie);

	return 0;
}