# HG changeset patch # User Flick # Date 1289955703 28800 # Node ID 85f7c7857617caea037bfb5eca5924220985a6d0 # Parent 77142dc9ceb94aec246938e657368c8a9b72e226# Parent ebe9eb5c17917ba5559ef3556698b1e1e1b2c5b4 Merged to tip diff -r 77142dc9ceb9 -r 85f7c7857617 ReAction.lua --- a/ReAction.lua Tue Nov 16 17:00:34 2010 -0800 +++ b/ReAction.lua Tue Nov 16 17:01:43 2010 -0800 @@ -1,27 +1,3 @@ ---[[ - ReAction.lua - - The ReAction core manages several collections: - - modules (via AceAddon) - - bars - - bar-type constructors - - and publishes events when those collections change. It also implements a couple properties - and has a couple convenience methods which drill down to particular modules. - - Most of the "real work" of the addon happens in Bar.lua, Overlay.lua, State.lua, and the various modules. - - Events (with handler arguments): - -------------------------------- - "OnCreateBar" (bar, name) : after a bar object is created - "OnDestroyBar" (bar, name) : before a bar object is destroyed - "OnEraseBar" (bar, name) : before a bar config is removed from the profile db - "OnRenameBar" (bar, oldname, newname) : after a bar is renamed - "OnRefreshBar" (bar, name) : after a bar's state has been updated - "OnConfigModeChanged" (mode) : after the config mode is changed - - ReAction is also an AceAddon-3.0 and contains an AceDB-3.0, which in turn publish more events. -]]-- local addonName, addonTable = ... local ReAction = LibStub("AceAddon-3.0"):NewAddon( "ReAction", "AceEvent-3.0"