# SPDX-License-Identifier: BSD-3-Clause
#
# Copyright 2025 Raritan Inc. All rights reserved.
#
# This file was generated by IdlC from WebcamManager.idl.

use strict;

package Raritan::RPC::webcam::WebcamAddedEvent_1_0_2;

use constant typeId => "webcam.WebcamAddedEvent:1.0.2";
use Raritan::RPC::webcam::WebcamEvent_1_0_2;

sub encode {
    my ($in) = @_;
    my $encoded = Raritan::RPC::webcam::WebcamEvent_1_0_2::encode($in);
    return $encoded;
}

sub decode {
    my ($agent, $in) = @_;
    my $decoded = Raritan::RPC::webcam::WebcamEvent_1_0_2::decode($agent, $in);
    return $decoded;
}

Raritan::RPC::Registry::registerCodecClass('webcam.WebcamAddedEvent', 1, 0, 2, 'Raritan::RPC::webcam::WebcamAddedEvent_1_0_2');
1;
