__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
package Object;
use strict;
use warnings;
BEGIN {
use Exporter ();
our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
# set the version for version checking
$VERSION = 1.00;
@ISA = qw(Exporter);
@EXPORT = ( );
%EXPORT_TAGS = ( );
# your exported package globals go here,
# as well as any optionally exported functions
@EXPORT_OK = ( );
}
our @EXPORT_OK;
# class Object
# {
# string name;
# string module;
# string parent;
# string c_name;
# string gtype_id;
# }
sub new
{
my ($def) = @_;
my $self = {};
bless $self;
$def =~ s/^\(//;
$def =~ s/\)$//;
# snarf down the fields
$$self{name} = $1 if($def =~ s/^define-object (\S+)//);
$$self{module} = $1 if($def =~ s/\(in-module "(\S+)"\)//);
$$self{parent} = $1 if($def =~ s/\(parent "(\S+)"\)//);
$$self{c_name} = $1 if($def =~ s/\(c-name "(\S+)"\)//);
$$self{gtype_id} = $1 if($def =~ s/\(gtype-id "(\S+)"\)//);
if($def !~ /^\s*$/)
{
GtkDefs::error("Unhandled object def ($def) in $$self{module}\::$$self{name}\n")
}
return $self;
}
sub dump($)
{
my ($self) = @_;
print "<object>\n";
foreach(keys %$self)
{ print " <$_ value=\"$$self{$_}\"/>\n"; }
print "</object>\n\n";
}
1; # indicate proper module load.
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| DocsParser.pm | File | 30.7 KB | 0644 |
|
| Enum.pm | File | 7.62 KB | 0644 |
|
| Function.pm | File | 13.02 KB | 0644 |
|
| FunctionBase.pm | File | 7.08 KB | 0644 |
|
| GtkDefs.pm | File | 21.39 KB | 0644 |
|
| Object.pm | File | 1.29 KB | 0644 |
|
| Output.pm | File | 51.18 KB | 0644 |
|
| Property.pm | File | 3.35 KB | 0644 |
|
| Util.pm | File | 2.5 KB | 0644 |
|
| WrapParser.pm | File | 48.39 KB | 0644 |
|