-- -- The calendar applet for dotLRN -- copyright 2001, OpenForce -- distributed under GPL v2.0 -- -- -- ben,arjun@openforce.net -- -- 10/05/2001 -- declare foo integer; begin -- create the implementation foo := acs_sc_impl.new ( 'dotlrn_applet', 'dotlrn_calendar', 'dotlrn_calendar' ); -- add all the hooks -- GetPrettyName foo := acs_sc_impl.new_alias ( 'dotlrn_applet', 'dotlrn_calendar', 'GetPrettyName', 'dotlrn_calendar::get_pretty_name', 'TCL' ); -- AddApplet foo := acs_sc_impl.new_alias ( 'dotlrn_applet', 'dotlrn_calendar', 'AddApplet', 'dotlrn_calendar::add_applet', 'TCL' ); -- RemoveApplet foo := acs_sc_impl.new_alias ( 'dotlrn_applet', 'dotlrn_calendar', 'RemoveApplet', 'dotlrn_calendar::remove_applet', 'TCL' ); -- AddUser foo := acs_sc_impl.new_alias ( 'dotlrn_applet', 'dotlrn_calendar', 'AddUser', 'dotlrn_calendar::add_user', 'TCL' ); -- RemoveUser foo := acs_sc_impl.new_alias ( 'dotlrn_applet', 'dotlrn_calendar', 'RemoveUser', 'dotlrn_calendar::remove_user', 'TCL' ); -- Add the binding acs_sc_binding.new ( contract_name => 'dotlrn_applet', impl_name => 'dotlrn_calendar' ); end; / show errors