#!/bin/bash

################################################################################
################################################################################
# Copyright 2023-2025 by NI SP Software GmbH, All rights reserved.
# Copyright 1999-2023 by Nice, srl., All rights reserved.
#
# This software includes confidential and proprietary information
# of NI SP Software GmbH ("Confidential Information").
# You shall not disclose such Confidential Information
# and shall use it only in accordance with the terms of
# the license agreement you entered into with NI SP Software.
################################################################################
################################################################################
################################################################################

################################################################################
# SVN $Id$
#
# Author: Antonio Arena
#         support@ni-sp-software.com
################################################################################



# ---[ CONFIGURATION ]------------------------------------------------------- #


EF_PLUGIN_NAME="EnginFrame Administration Plug-in"
export EF_PLUGIN_NAME

EF_PLUGIN_FILE="EFAdmin"
export EF_PLUGIN_FILE

EF_PLUGIN_ROOT="${EF_ROOT}/plugins/admin"
export EF_PLUGIN_ROOT



# ---[ PRIVATE METHODS ]----------------------------------------------------- #


my_error() {
    echo "$1" >&2
}



# ---[ MAIN ]---------------------------------------------------------------- #


# Load common EnginFrame functions and environment
# ================================================

EF_FUNCTIONS="${EF_ROOT}/plugins/ef/lib/functions"
if [ ! -f "${EF_FUNCTIONS}" ]; then
    my_error "${EF_FUNCTIONS} is missing"
    exit 1
fi

. "${EF_FUNCTIONS}"

ef_init_environment


# --------------------------------------------------------------------------- #
# vi: ts=4 sw=4 et syntax=sh :
# --------------------------------------------------------------------------- #

