source: projects/casparbuster/devel/lib/CasparBuster/Env.pm @ 1485

Last change on this file since 1485 was 1485, checked in by bruno, 7 years ago
  • Adds a Plugin module to support plugin management
  • cbusterize now works with both -s and -p options
  • One plugin example added (dhcpd)

-cb script started. Not working now

File size: 1.0 KB
Line 
1#
2# Creates common environment for distributions
3#
4# $Id$
5#
6#
7package CasparBuster::Env;
8
9use strict;
10
11# Global vars
12# Inherit from the "Exporter" module which handles exporting functions.
13#
14use vars qw($VERSION $REVISION @ISA @EXPORT);
15use Exporter;
16#
17# Export, by default, all the functions into the namespace of
18# any code which uses this module.
19
20our @ISA = qw(Exporter);
21our @EXPORT = qw(cb_env_conffile cb_env_confdir);
22
23=pod
24
25=head1 NAME
26
27CasparBuster::Env - module dealing with CasparBuster environment
28
29=head1 DESCRIPTION
30
31This modules provides functions to allow the setup of the CasparBuster environment
32
33=head1 SYNOPSIS
34
35  use CasparBuster::Env;
36  my $conffile = cb_env_conffile();
37  my $confdir = cb_env_confdir();
38
39=head1 USAGE
40
41=over 4
42
43=item B<cb_env_conffile>
44
45This function returns the mandatory configuration file used for CasparBuster
46
47=cut
48
49sub cb_env_conffile {
50        return("CCCC/cb.conf");
51}
52=item B<cb_env_conffile>
53
54This function returns the mandatory configuration file used for CasparBuster
55
56=cut
57
58sub cb_env_confdir {
59        return("CCCC");
60}
61
621;
Note: See TracBrowser for help on using the repository browser.