[api] add copyright header to webmachine files

This commit is contained in:
Bart Van Der Meerssche 2011-03-23 09:16:02 +00:00
parent 90ffd3ffcc
commit 243d512229
6 changed files with 109 additions and 24 deletions

View File

@ -1,10 +1,24 @@
%% @author author <author@example.com> %% @author Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>
%% @copyright YYYY author. %% @copyright (C) 2009-2011 Bart Van Der Meerssche
%%%
%% @doc TEMPLATE. %%% 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 <http://www.gnu.org/licenses/>.
%%%
%% @doc Flukso module spec
-module(flukso). -module(flukso).
-author('author <author@example.com>'). -author('Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>').
-export([start/0, start_link/0, stop/0]). -export([start/0, start_link/0, stop/0]).
ensure_started(App) -> ensure_started(App) ->

View File

@ -1,10 +1,23 @@
%% @author author <author@example.com> %% @author Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>
%% @copyright YYYY author. %% @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 <http://www.gnu.org/licenses/>.
%%%
%% @doc Callbacks for the flukso application. %% @doc Callbacks for the flukso application.
-module(flukso_app). -module(flukso_app).
-author('author <author@example.com>'). -author('Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>').
-behaviour(application). -behaviour(application).
-export([start/2,stop/1]). -export([start/2,stop/1]).

View File

@ -1,12 +1,25 @@
%% @author author <author@example.com> %% @author Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>
%% @copyright YYYY author. %% @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 <http://www.gnu.org/licenses/>.
%%%
%% @doc Ensure that the relatively-installed dependencies are on the code %% @doc Ensure that the relatively-installed dependencies are on the code
%% loading path, and locate resources relative %% loading path, and locate resources relative
%% to this application's path. %% to this application's path.
-module(flukso_deps). -module(flukso_deps).
-author('author <author@example.com>'). -author('Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>').
-export([ensure/0, ensure/1]). -export([ensure/0, ensure/1]).
-export([get_base_dir/0, get_base_dir/1]). -export([get_base_dir/0, get_base_dir/1]).

View File

@ -1,8 +1,24 @@
%% @author icarus75 <bart.vandermeerssche@flukso.net> %% @author Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>
%% @copyright 2009-2010 flukso.net %% @copyright (C) 2009-2011 Bart Van Der Meerssche
%% @doc Flukso webmachine_resource. %%%
%%% 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 <http://www.gnu.org/licenses/>.
%%%
%% @doc Flukso API: /sensor resource specification
-module(flukso_sensor). -module(flukso_sensor).
-author('Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>').
-export([init/1, -export([init/1,
allowed_methods/2, allowed_methods/2,
malformed_request/2, malformed_request/2,

View File

@ -1,8 +1,24 @@
%% @author icarus75 <bart.vandermeerssche@flukso.net> %% @author Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>
%% @copyright 2009-2010 flukso.net %% @copyright (C) 2009-2011 Bart Van Der Meerssche
%% @doc Flukso webmachine_resource. %%%
%%% 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 <http://www.gnu.org/licenses/>.
%%%
%% @doc Flukso API: /sensor/xyz resource specification
-module(flukso_sensor_xyz). -module(flukso_sensor_xyz).
-author('Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>').
-export([init/1, -export([init/1,
allowed_methods/2, allowed_methods/2,
malformed_request/2, malformed_request/2,

View File

@ -1,10 +1,23 @@
%% @author author <author@example.com> %% @author Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>
%% @copyright YYYY author. %% @copyright (C) 2009-2011 Bart Van Der Meerssche
%%%
%% @doc Supervisor for the flukso application. %%% 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 <http://www.gnu.org/licenses/>.
%%%
%% @doc Supervisor for the flukso application.
-module(flukso_sup). -module(flukso_sup).
-author('author <author@example.com>'). -author('Bart Van Der Meerssche <bart.vandermeerssche@flukso.net>').
-behaviour(supervisor). -behaviour(supervisor).