
-- this isn't a module per se, just a list of constants that name the mod. We bundle them together so that the rest of the code has no explicit references to its own name, making it easy to copy the bits we like for other mods!

local mod = thismod
mod.global = 
{
	slash = 
	{
		short = "/ktm",
		medium = "/klhtm",
		long = "/klhthreatmeter",
	},
	
	name = "KLHThreatMeter",
	abbreviation = "KTM",
	addonmessageprefix = "KLHTM",
	printheader = "|cff88ffffKTM |r",

	-- this gives the name of the variable. Make sure it matches the "## SavedVariables: " line in the .toc.
	savedvariables = "klhtmsavedvariables", 
	
	webpage = "http://wow-en.curse-gaming.com/files/details/4204/klhthreatmeter/",
	
	-- Mod Version
	release = 19,
	revision = 12,
	build = 237,

	--[[
	Release	First Build
		1	  	  1
		2	 	  7
		3	 	 12
		4	 	 31
		5	 	 33
		6	 	 45
		7	 	 55
		8	 	 74
		9	 	 81
		10		 90
		11		104
		12		117
		13		125
		14		142
		15		157
		16		179
		17		193
		18		213
		19		226
	]]
}

--[[
klhtm.emergencystop()
Stops all processing of events and onupdates. Just in case! This is unlocalised and raw to make sure it works even if there are errors elsewhere in the program.
]]
mod.emergencystop = function()
	
	mod.isenabled = false
	
	ChatFrame1:AddMessage("KLHThreatMeter emergency stop! |cffffff00/ktm|r e to resume.")
	
end