check pod and pod coverage
[imager-screenshot.git] / Screenshot.xs
CommitLineData
a9735f1a
TC
1#include "EXTERN.h"\r
2#include "perl.h"\r
3#include "XSUB.h"\r
4#include "imext.h"\r
5#include "imperl.h"\r
6#include "imss.h"\r
7\r
8DEFINE_IMAGER_CALLBACKS;\r
9\r
b2239557
TC
10#define imss__x11_open imss_x11_open\r
11\r
7647faf2 12MODULE = Imager::Screenshot PACKAGE = Imager::Screenshot PREFIX = imss\r
a9735f1a
TC
13\r
14PROTOTYPES: DISABLE\r
15\r
16#ifdef SS_WIN32\r
17\r
18Imager\r
b2239557 19imss_win32(hwnd, include_decor = 0)\r
a9735f1a
TC
20 unsigned hwnd\r
21 int include_decor\r
22\r
23#endif\r
24\r
25#ifdef SS_X11\r
26\r
27Imager\r
b2239557
TC
28imss_x11(display, window_id)\r
29 unsigned long display\r
a9735f1a
TC
30 int window_id\r
31\r
b2239557 32unsigned long\r
7647faf2 33imss_x11_open(display_name = NULL)\r
b2239557
TC
34 const char *display_name\r
35\r
36void\r
37imss_x11_close(display)\r
38 unsigned long display\r
39\r
a9735f1a
TC
40#endif\r
41\r
42BOOT:\r
43 PERL_INITIALIZE_IMAGER_CALLBACKS;