From dfaeea33c96eb293c7276d378f95a86eaffdde73 Mon Sep 17 00:00:00 2001 From: Giovanni Harting Date: Fri, 28 Aug 2015 19:59:10 +0200 Subject: [PATCH] some formatting changes and added missing licences --- ledd/effects/__init__.py | 2 +- ledd/effects/baseeffect.py | 1 + ledd/effects/fadeeffect.py | 19 ++++++++++++++++++- ledd/effects/generatoreffect.py | 18 +++++++++++++++++- 4 files changed, 37 insertions(+), 3 deletions(-) diff --git a/ledd/effects/__init__.py b/ledd/effects/__init__.py index 22cc96d..52e96e3 100644 --- a/ledd/effects/__init__.py +++ b/ledd/effects/__init__.py @@ -12,4 +12,4 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see . \ No newline at end of file +# along with this program. If not, see . diff --git a/ledd/effects/baseeffect.py b/ledd/effects/baseeffect.py index f179893..6e54087 100644 --- a/ledd/effects/baseeffect.py +++ b/ledd/effects/baseeffect.py @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . + class BaseEffect(object): """ This class only defines default meta-data for effects. diff --git a/ledd/effects/fadeeffect.py b/ledd/effects/fadeeffect.py index 1479b8d..d2664b5 100644 --- a/ledd/effects/fadeeffect.py +++ b/ledd/effects/fadeeffect.py @@ -1,6 +1,23 @@ -from ledd.effects.generatoreffect import GeneratorEffect +# LEDD Project +# Copyright (C) 2015 LEDD Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import spectra +from ledd.effects.generatoreffect import GeneratorEffect + class FadeEffect(GeneratorEffect): author = "LeDD-Freaks" diff --git a/ledd/effects/generatoreffect.py b/ledd/effects/generatoreffect.py index cb83e3a..ac91f20 100644 --- a/ledd/effects/generatoreffect.py +++ b/ledd/effects/generatoreffect.py @@ -1,6 +1,22 @@ +# LEDD Project +# Copyright (C) 2015 LEDD Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +from spectra import Color from ledd.effects.baseeffect import BaseEffect -from spectra import Color class GeneratorEffect(BaseEffect):