Made CMS_MODULE.name deferred, and implemented by constant so that it can be use as static call.

Copied site resources on related module source folder.
Renamed "login" module as "auth" module, and updated related locations and files.
This commit is contained in:
2015-06-29 16:24:17 +02:00
parent 48b0ad5195
commit ebc5924c01
56 changed files with 789 additions and 249 deletions

53
tools/roc/roc_command.e Normal file
View File

@@ -0,0 +1,53 @@
note
description: "Abstraction of roc command."
date: "$Date$"
revision: "$Revision$"
deferred class
ROC_COMMAND
inherit
SHARED_EXECUTION_ENVIRONMENT
rename
print as ascii_print
end
LOCALIZED_PRINTER
rename
print as ascii_print,
localized_print as print
end
feature {NONE} -- Initialization
make (a_name: READABLE_STRING_8)
do
create name.make_from_string (a_name)
end
feature -- Access
name: IMMUTABLE_STRING_8
help: STRING_32
deferred
end
feature -- Status report
is_valid (args: ARRAY [READABLE_STRING_32]): BOOLEAN
deferred
end
feature -- Execution
execute (args: ARRAY [READABLE_STRING_32])
require
args.lower = 0 -- Prog name at index 0, args at index 1, ...
deferred
end
note
copyright: "2011-2015, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end