mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-11 02:27:10 +00:00
renamed 98_configDB to 98_configDBwrap
git-svn-id: https://svn.fhem.de/fhem/trunk@5164 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
570984ef57
commit
aae0f2e90a
@ -1,6 +1,7 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- SVN
|
||||
- change: renamed 98_configDB to 98_configDBwrap
|
||||
- feature: DbLog: Added new function : ReadingsVal/ReadingsTimestamp
|
||||
- feature: Text2Speech: added new attribute TTS_VolumeAdjust
|
||||
- feature: added wrapper module 98_configDB (betateilchen)
|
||||
|
@ -6,15 +6,15 @@ use strict;
|
||||
use warnings;
|
||||
use feature qw/say switch/;
|
||||
|
||||
sub configDB_Initialize($) {
|
||||
sub configDBwrap_Initialize($) {
|
||||
my ($hash) = @_;
|
||||
$hash->{DefFn} = "configDB_Define";
|
||||
$hash->{SetFn} = "configDB_Set";
|
||||
$hash->{GetFn} = "configDB_Get";
|
||||
$hash->{DefFn} = "configDBwrap_Define";
|
||||
$hash->{SetFn} = "configDBwrap_Set";
|
||||
$hash->{GetFn} = "configDBwrap_Get";
|
||||
$hash->{AttrList} = "private:1,0 ";
|
||||
}
|
||||
|
||||
sub configDB_Define($$) {
|
||||
sub configDBwrap_Define($$) {
|
||||
return "configDB not enabled!" unless $attr{global}{configfile} eq 'configDB';
|
||||
my ($hash, $def) = @_;
|
||||
my @a = split("[ \t][ \t]*", $def);
|
||||
@ -24,7 +24,7 @@ sub configDB_Define($$) {
|
||||
return undef;
|
||||
}
|
||||
|
||||
sub configDB_Set($@) {
|
||||
sub configDBwrap_Set($@) {
|
||||
my ($hash, @a) = @_;
|
||||
my $name = $hash->{NAME};
|
||||
my $usage = "Unknown argument, choose one of reorg recover";
|
||||
@ -51,7 +51,7 @@ sub configDB_Set($@) {
|
||||
|
||||
}
|
||||
|
||||
sub configDB_Get($@) {
|
||||
sub configDBwrap_Get($@) {
|
||||
|
||||
my ($hash, @a) = @_;
|
||||
my $name = $hash->{NAME};
|
@ -207,7 +207,7 @@ FHEM/98_autocreate.pm rudolfkoenig http://forum.fhem.de Automatis
|
||||
FHEM/98_average.pm rudolfkoenig http://forum.fhem.de Automatisierung
|
||||
FHEM/98_backup.pm mfr69bs http://forum.fhem.de Sonstiges
|
||||
FHEM/98_cmdalias.pm rudolfkoenig http://forum.fhem.de Automatisierung
|
||||
FHEM/98_configDB.pm betateilchen http://forum.fhem.de Sonstiges
|
||||
FHEM/98_configDBwrap.pm betateilchen http://forum.fhem.de Sonstiges
|
||||
FHEM/98_dewpoint.pm wherzig http://forum.fhem.de Automatisierung
|
||||
FHEM/98_dummy.pm rudolfkoenig http://forum.fhem.de Automatisierung
|
||||
FHEM/98_fheminfo.pm mfr69bs http://forum.fhem.de Sonstiges
|
||||
|
Loading…
x
Reference in New Issue
Block a user