/[freeride]/freeride/freebase/plugin.rb
ViewVC logotype

Diff of /freeride/freebase/plugin.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by richkilmer, Wed Feb 27 03:05:05 2002 UTC revision 1.4 by richkilmer, Thu May 30 01:59:14 2002 UTC
# Line 17  Line 17 
17  require 'rexml/document'  require 'rexml/document'
18    
19  module FreeBASE  module FreeBASE
20      
21      module StandardPlugin
22          def load(plugin)
23            plugin.transition(FreeBASE::LOADED)
24          end
25          
26          def start(plugin)
27            plugin.transition(FreeBASE::RUNNING)
28          end
29          
30          def stop(plugin)
31            plugin.transition(FreeBASE::LOADED)
32          end
33          
34          def unload(plugin)
35            plugin.transition(FreeBASE::UNLOADED)
36          end
37      end
38    
39    ##    ##
40    # The Plugin class is the wrapper for the actual plugin instance    # The Plugin class is the wrapper for the actual plugin instance
41    #    #

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26