initial commit
This commit is contained in:
23
Core/UI/MainUI/Ledger/Expenses/Core.lua
Normal file
23
Core/UI/MainUI/Ledger/Expenses/Core.lua
Normal file
@@ -0,0 +1,23 @@
|
||||
-- ------------------------------------------------------------------------------ --
|
||||
-- TradeSkillMaster --
|
||||
-- https://tradeskillmaster.com --
|
||||
-- All Rights Reserved - Detailed license information included with addon. --
|
||||
-- ------------------------------------------------------------------------------ --
|
||||
|
||||
local _, TSM = ...
|
||||
local Expenses = TSM.MainUI.Ledger:NewPackage("Expenses")
|
||||
local L = TSM.Include("Locale").GetTable()
|
||||
|
||||
|
||||
|
||||
-- ============================================================================
|
||||
-- Module Functions
|
||||
-- ============================================================================
|
||||
|
||||
function Expenses.OnInitialize()
|
||||
TSM.MainUI.Ledger.RegisterPage(L["Expenses"])
|
||||
end
|
||||
|
||||
function Expenses.RegisterPage(name, callback)
|
||||
TSM.MainUI.Ledger.RegisterChildPage(L["Expenses"], name, callback)
|
||||
end
|
||||
Reference in New Issue
Block a user