Skip to content

Commit

Permalink
reformat .hrl
Browse files Browse the repository at this point in the history
  • Loading branch information
gleber committed Apr 19, 2012
1 parent e15acb1 commit aa44cac
Show file tree
Hide file tree
Showing 3 changed files with 356 additions and 359 deletions.
73 changes: 36 additions & 37 deletions include/acl.hrl
@@ -1,41 +1,40 @@
%
% acl.hrl
%
% ----------------------------------------------------------------------
%
% eXAT, an erlang eXperimental Agent Tool
% Copyright (C) 2005-07 Corrado Santoro (csanto@diit.unict.it)
%
% 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/>
%
%
%%
%% acl.hrl
%%
%%----------------------------------------------------------------------
%%
%% eXAT, an erlang eXperimental Agent Tool
%% Copyright (C) 2005-07 Corrado Santoro (csanto@diit.unict.it)
%%
%% 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/>
%%
%%

-define (ACL_ANY, '_').

-record (aclmessage, {
speechact = ?ACL_ANY,
sender = ?ACL_ANY,
receiver = ?ACL_ANY,
'reply-to' = ?ACL_ANY,
content = ?ACL_ANY,
language = ?ACL_ANY,
encoding = ?ACL_ANY,
ontology = ?ACL_ANY,
protocol = ?ACL_ANY,
'conversation-id' = ?ACL_ANY,
'reply-with' = ?ACL_ANY,
'in-reply-to' = ?ACL_ANY,
'reply-by' = ?ACL_ANY}).
-record (aclmessage, {speechact = ?ACL_ANY,
sender = ?ACL_ANY,
receiver = ?ACL_ANY,
'reply-to' = ?ACL_ANY,
content = ?ACL_ANY,
language = ?ACL_ANY,
encoding = ?ACL_ANY,
ontology = ?ACL_ANY,
protocol = ?ACL_ANY,
'conversation-id' = ?ACL_ANY,
'reply-with' = ?ACL_ANY,
'in-reply-to' = ?ACL_ANY,
'reply-by' = ?ACL_ANY}).

%-record (fipa_agent_identifier, {name, addresses}).
%%-record (fipa_agent_identifier, {name, addresses}).
67 changes: 33 additions & 34 deletions include/eres_ontology.hrl
@@ -1,37 +1,36 @@
%
% eres_ontology.hrl
%
% -------------------------------------------------------------------------
%
% ERESYE, an ERlang Expert SYstem Engine
% Copyright (C) 2005-07 Francesca Gangemi (francesca@erlang-consulting.com)
% Copyright (C) 2005-07 Corrado Santoro (csanto@diit.unict.it)
%
% 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/>
%
%%
%% eres_ontology.hrl
%%
%% -------------------------------------------------------------------------
%%
%% ERESYE, an ERlang Expert SYstem Engine
%% Copyright (C) 2005-07 Francesca Gangemi (francesca@erlang-consulting.com)
%% Copyright (C) 2005-07 Corrado Santoro (csanto@diit.unict.it)
%%
%% 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/>
%%

-define (NO_DEFAULT, nil).
-define(NO_DEFAULT, nil).

-record (ontology_class, {name, superclass, properties = []}).

-record (ontology_property, {name, type,
is_primitive, is_digit,
requirement = nil,
cardinality = nil,
default = ?NO_DEFAULT}).

%
%
%
-record(ontology_class, {name,
superclass,
properties = []}).

-record(ontology_property, {name,
type,
is_primitive,
is_digit,
requirement = nil,
cardinality = nil,
default = ?NO_DEFAULT}).

0 comments on commit aa44cac

Please sign in to comment.