| 1 | # This code is part of Perl distribution User-Identity version 4.00. | ||
| 2 | # The POD got stripped from this file by OODoc version 3.05. | ||
| 3 | # For contributors see file ChangeLog. | ||
| 4 | |||
| 5 | # This software is copyright (c) 2003-2025 by Mark Overmeer. | ||
| 6 | |||
| 7 | # This is free software; you can redistribute it and/or modify it under | ||
| 8 | # the same terms as the Perl 5 programming language system itself. | ||
| 9 | # SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later | ||
| 10 | |||
| 11 | |||
| 12 | package User::Identity::Collection::Systems;{ | ||
| 13 | our $VERSION = '4.00'; | ||
| 14 | } | ||
| 15 | |||
| 16 | use parent 'User::Identity::Collection'; | ||
| 17 | |||
| 18 | use strict; | ||
| 19 | use warnings; | ||
| 20 | |||
| 21 | use Log::Report 'user-identity'; | ||
| 22 | |||
| 23 | use User::Identity::System (); | ||
| 24 | |||
| 25 | #-------------------- | ||
| 26 | |||
| 27 | sub new(@) | ||
| 28 | { my $class = shift; | ||
| 29 | $class->SUPER::new(systems => @_); | ||
| 30 | } | ||
| 31 | |||
| 32 | sub init($) | ||
| 33 | { my ($self, $args) = @_; | ||
| 34 | $args->{item_type} ||= 'User::Identity::System'; | ||
| 35 | $self->SUPER::init($args); | ||
| 36 | } | ||
| 37 | |||
| 38 | sub type() { 'network' } | ||
| 39 | |||
| 40 | 1; |