lib/WL/text_cursor_position.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
notify
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # DO NOT EDIT, PRETTY PLEASE!
2 # This file is automatically generated by wl-scanner.pl
3 #
4  
5 use strict;
6 use warnings;
7 use utf8;
8  
9 =encoding utf8
10 =cut
11  
12 =head1 NAME
13  
14 WL::text_cursor_position - Perl binding for text_cursor_position protocol
15  
16 =head1 SYNOPSIS
17  
18 use WL::text_cursor_position;
19  
20 =head1 DESCRIPTION
21  
22 B<WL::text_cursor_position> is a package generated from Wayland protocol definition
23 using L<wl-scanner.pl>. It implements L<WL::Base> subclasses with wrappers
24 for requests, event processing and constants for enums.
25  
26 It is not indended to be used directly. Instead, see L<WL::Connection> to see
27 how to obtain the object instances.
28  
29 To see how to attach event callbacks and issue requests, please refer to
30 L<WL::Base> base class.
31  
32 Until proper documentation is finished, please refer to documentation of C
33 bindings of the generated code (it is intended to be readable) to see what
34 arguments to give to requests and expect from events.
35  
36 Please consider this an alpha quality code, whose API can change at any time,
37 until we reach version 1.0.
38  
39 =cut
40  
41 package WL::text_cursor_position;
42  
43 our $VERSION = 0.92;
44  
45 package WL::text_cursor_position;
46  
47 our @ISA = qw/WL::Base/;
48 our $VERSION = 1;
49 our $INTERFACE = 'text_cursor_position';
50  
51 # Requests
52 use constant REQUEST_NOTIFY => 0;
53  
54 sub notify
55 {
56 my $self = shift;
57 my $file;
58 my $retval;
59  
60 $self->call (REQUEST_NOTIFY, pack ('L l l',
61 shift->{id},
62 $self->nv2fixed ($_),
63 $self->nv2fixed ($_)), $file);
64  
65 return $retval;
66 }
67  
68  
69 =head1 BUGS
70  
71 The interface documentation for the bindings is lacking.
72  
73 Only client part implemented, not server.
74  
75 =head1 SEE ALSO
76  
77 =over
78  
79 =item *
80  
81 L<http://wayland.freedesktop.org/> -- Wayland project web site
82  
83 =item *
84  
85 L<wl-draw.pl> -- Example Wayland client
86  
87 =item *
88  
89 L<wl-scanner.pl> -- Tool that generated this module
90  
91 =item *
92  
93 L<WL::Base> -- Base class for Wayland objects
94  
95 =item *
96  
97 L<WL::Connection> -- Estabilish a Wayland connection
98  
99 =back
100  
101 =head1 COPYRIGHT
102  
103 Copyright 2013, 2014 Lubomir Rintel
104  
105 This program is free software; you can redistribute it and/or modify it
106 under the same terms as Perl itself.
107  
108 =head1 AUTHORS
109  
110 Lubomir Rintel C<lkundrak@v3.sk>
111  
112 =cut
113