This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-09-13 10:31:44 +00:00
|
|
|
module OrbitApp
|
|
|
|
module DSL
|
2012-09-24 03:43:48 +00:00
|
|
|
def registration(name,type ={:type=> "ModuleApp"} ,&block)
|
|
|
|
if type[:type] == "ModuleApp"
|
|
|
|
Module::Registration.new(name,&block)
|
|
|
|
elsif type[:type] == "PersonalPlugin"
|
|
|
|
Plugin::Registration.new(name,&block)
|
|
|
|
end
|
|
|
|
|
2012-09-13 10:31:44 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2012-09-24 03:43:48 +00:00
|
|
|
# def backend_side_bar(name,&block)
|
|
|
|
# Module::BackendSideBar.new(name,&block)
|
|
|
|
# end
|
|
|
|
|
|
|
|
# def plugin_summary(name,&block)
|
|
|
|
# # Plugin::PluginSummary.new(name,&block)
|
|
|
|
# end
|
|
|
|
|
|
|
|
# def module_summary(name,&block)
|
|
|
|
# Module::Summary.new(name,&block)
|
|
|
|
# end
|
2012-09-13 10:31:44 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|