From 243d51222945f7a69fb1a19ef4807058bccc7007 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Wed, 23 Mar 2011 09:16:02 +0000 Subject: [PATCH] [api] add copyright header to webmachine files --- server/api/flukso/src/flukso.erl | 24 ++++++++++++++++----- server/api/flukso/src/flukso_app.erl | 21 ++++++++++++++---- server/api/flukso/src/flukso_deps.erl | 21 ++++++++++++++---- server/api/flukso/src/flukso_sensor.erl | 22 ++++++++++++++++--- server/api/flukso/src/flukso_sensor_xyz.erl | 22 ++++++++++++++++--- server/api/flukso/src/flukso_sup.erl | 23 +++++++++++++++----- 6 files changed, 109 insertions(+), 24 deletions(-) diff --git a/server/api/flukso/src/flukso.erl b/server/api/flukso/src/flukso.erl index 7b1391c..59a9cb3 100644 --- a/server/api/flukso/src/flukso.erl +++ b/server/api/flukso/src/flukso.erl @@ -1,10 +1,24 @@ -%% @author author -%% @copyright YYYY author. - -%% @doc TEMPLATE. +%% @author Bart Van Der Meerssche +%% @copyright (C) 2009-2011 Bart Van Der Meerssche +%%% +%%% 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 . +%%% +%% @doc Flukso module spec -module(flukso). --author('author '). +-author('Bart Van Der Meerssche '). + -export([start/0, start_link/0, stop/0]). ensure_started(App) -> diff --git a/server/api/flukso/src/flukso_app.erl b/server/api/flukso/src/flukso_app.erl index ef7928d..37d59c4 100644 --- a/server/api/flukso/src/flukso_app.erl +++ b/server/api/flukso/src/flukso_app.erl @@ -1,10 +1,23 @@ -%% @author author -%% @copyright YYYY author. - +%% @author Bart Van Der Meerssche +%% @copyright (C) 2009-2011 Bart Van Der Meerssche +%%% +%%% 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 . +%%% %% @doc Callbacks for the flukso application. -module(flukso_app). --author('author '). +-author('Bart Van Der Meerssche '). -behaviour(application). -export([start/2,stop/1]). diff --git a/server/api/flukso/src/flukso_deps.erl b/server/api/flukso/src/flukso_deps.erl index 7467e49..65ba78b 100644 --- a/server/api/flukso/src/flukso_deps.erl +++ b/server/api/flukso/src/flukso_deps.erl @@ -1,12 +1,25 @@ -%% @author author -%% @copyright YYYY author. - +%% @author Bart Van Der Meerssche +%% @copyright (C) 2009-2011 Bart Van Der Meerssche +%%% +%%% 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 . +%%% %% @doc Ensure that the relatively-installed dependencies are on the code %% loading path, and locate resources relative %% to this application's path. -module(flukso_deps). --author('author '). +-author('Bart Van Der Meerssche '). -export([ensure/0, ensure/1]). -export([get_base_dir/0, get_base_dir/1]). diff --git a/server/api/flukso/src/flukso_sensor.erl b/server/api/flukso/src/flukso_sensor.erl index 4039781..05d029c 100644 --- a/server/api/flukso/src/flukso_sensor.erl +++ b/server/api/flukso/src/flukso_sensor.erl @@ -1,8 +1,24 @@ -%% @author icarus75 -%% @copyright 2009-2010 flukso.net -%% @doc Flukso webmachine_resource. +%% @author Bart Van Der Meerssche +%% @copyright (C) 2009-2011 Bart Van Der Meerssche +%%% +%%% 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 . +%%% +%% @doc Flukso API: /sensor resource specification -module(flukso_sensor). +-author('Bart Van Der Meerssche '). + -export([init/1, allowed_methods/2, malformed_request/2, diff --git a/server/api/flukso/src/flukso_sensor_xyz.erl b/server/api/flukso/src/flukso_sensor_xyz.erl index 229760d..b764c62 100644 --- a/server/api/flukso/src/flukso_sensor_xyz.erl +++ b/server/api/flukso/src/flukso_sensor_xyz.erl @@ -1,8 +1,24 @@ -%% @author icarus75 -%% @copyright 2009-2010 flukso.net -%% @doc Flukso webmachine_resource. +%% @author Bart Van Der Meerssche +%% @copyright (C) 2009-2011 Bart Van Der Meerssche +%%% +%%% 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 . +%%% +%% @doc Flukso API: /sensor/xyz resource specification -module(flukso_sensor_xyz). +-author('Bart Van Der Meerssche '). + -export([init/1, allowed_methods/2, malformed_request/2, diff --git a/server/api/flukso/src/flukso_sup.erl b/server/api/flukso/src/flukso_sup.erl index 3713ac6..025047b 100644 --- a/server/api/flukso/src/flukso_sup.erl +++ b/server/api/flukso/src/flukso_sup.erl @@ -1,10 +1,23 @@ -%% @author author -%% @copyright YYYY author. - -%% @doc Supervisor for the flukso application. +%% @author Bart Van Der Meerssche +%% @copyright (C) 2009-2011 Bart Van Der Meerssche +%%% +%%% 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 . +%%% +%% @doc Supervisor for the flukso application. -module(flukso_sup). --author('author '). +-author('Bart Van Der Meerssche '). -behaviour(supervisor).