From 2f1a47d56ddc6cff5ce2b837104308c7166eace8 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sat, 3 May 2008 11:13:27 +0000 Subject: [PATCH] some svn keywords --- ActionBars.lua | 34 +++++++++++++++++----------------- MicroMenu.lua | 2 +- PetBar.lua | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/ActionBars.lua b/ActionBars.lua index a6de689..62df82e 100644 --- a/ActionBars.lua +++ b/ActionBars.lua @@ -148,23 +148,6 @@ function BT4ActionBars:UpdateButtons(force) end end -function BT4ActionBars:GetAll() - return pairs(self.actionbars) -end - -function BT4ActionBars:ForAll(method, ...) - for _, bar in self:GetAll() do - local func = bar[method] - if func then - func(bar, ...) - end - end -end - -function BT4ActionBars:ForAllButtons(...) - self:ForAll("ForAll", ...) -end - function BT4ActionBars:CreateBarOption(id, options) if not self.options then return end @@ -242,3 +225,20 @@ function BT4ActionBars:EnableBar(id) bar:Unlock() end end + +function BT4ActionBars:GetAll() + return pairs(self.actionbars) +end + +function BT4ActionBars:ForAll(method, ...) + for _, bar in self:GetAll() do + local func = bar[method] + if func then + func(bar, ...) + end + end +end + +function BT4ActionBars:ForAllButtons(...) + self:ForAll("ForAll", ...) +end diff --git a/MicroMenu.lua b/MicroMenu.lua index 3c03c10..30a719d 100644 --- a/MicroMenu.lua +++ b/MicroMenu.lua @@ -1,4 +1,4 @@ ---[[ $Id: StanceBar.lua 62418 2008-02-21 16:53:12Z nevcairiel $ ]] +--[[ $Id$ ]] -- register module local MicroMenuMod = Bartender4:NewModule("MicroMenu", "AceHook-3.0") diff --git a/PetBar.lua b/PetBar.lua index 69bdc99..2ebb293 100644 --- a/PetBar.lua +++ b/PetBar.lua @@ -1,4 +1,4 @@ ---[[ $Id: StanceBar.lua 61678 2008-02-17 01:37:33Z nevcairiel $ ]] +--[[ $Id$ ]] -- register module local PetBarMod = Bartender4:NewModule("PetBar", "AceEvent-3.0")