diff options
Diffstat (limited to 'lib/App/XScreenSaver/DBus/SaverProxy.pm')
-rw-r--r-- | lib/App/XScreenSaver/DBus/SaverProxy.pm | 45 |
1 files changed, 36 insertions, 9 deletions
diff --git a/lib/App/XScreenSaver/DBus/SaverProxy.pm b/lib/App/XScreenSaver/DBus/SaverProxy.pm index 858dcba..10fbb99 100644 --- a/lib/App/XScreenSaver/DBus/SaverProxy.pm +++ b/lib/App/XScreenSaver/DBus/SaverProxy.pm @@ -6,17 +6,9 @@ use experimental qw(signatures postderef); # this is the interface name use Net::DBus::Exporter qw(org.freedesktop.ScreenSaver); use parent 'Net::DBus::Object'; -# VERSION +our $VERSION = '1.0.2'; # VERSION # ABSTRACT: proxy dbus object -=head1 DESCRIPTION - -This is functionally the same as L<< C<Net::DBus::ObjectProxy> >>, but -specialised for this application, and with a hack to allow L<< -C<App::XScreenSaver::DBus::Saver> >> to access the sender of the -message. - -=cut dbus_method('Inhibit',['string','string'],['uint32']); dbus_method('UnInhibit',['uint32'],[]); @@ -44,3 +36,38 @@ sub UnInhibit($self,$cookie) { } 1; + +__END__ + +=pod + +=encoding UTF-8 + +=head1 NAME + +App::XScreenSaver::DBus::SaverProxy - proxy dbus object + +=head1 VERSION + +version 1.0.2 + +=head1 DESCRIPTION + +This is functionally the same as L<< C<Net::DBus::ObjectProxy> >>, but +specialised for this application, and with a hack to allow L<< +C<App::XScreenSaver::DBus::Saver> >> to access the sender of the +message. + +=head1 AUTHOR + +Gianni Ceccarelli <dakkar@thenautilus.net> + +=head1 COPYRIGHT AND LICENSE + +This software is Copyright (c) 2021 by Gianni Ceccarelli <dakkar@thenautilus.net>. + +This is free software, licensed under: + + The GNU Affero General Public License, Version 3, November 2007 + +=cut |