summaryrefslogtreecommitdiff
path: root/src/game/Addons/AddonMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Addons/AddonMgr.h')
-rw-r--r--src/game/Addons/AddonMgr.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/game/Addons/AddonMgr.h b/src/game/Addons/AddonMgr.h
deleted file mode 100644
index 04f190891f..0000000000
--- a/src/game/Addons/AddonMgr.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license: http://github.com/azerothcore/azerothcore-wotlk/LICENSE-GPL2
- * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
- * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
- */
-
-#ifndef _ADDONMGR_H
-#define _ADDONMGR_H
-
-#include "Define.h"
-#include <string>
-
-struct AddonInfo
-{
- AddonInfo(const std::string& name, uint8 enabled, uint32 crc, uint8 state, bool crcOrPubKey)
- : Name(name), Enabled(enabled), CRC(crc), State(state), UsePublicKeyOrCRC(crcOrPubKey) {}
-
- std::string Name;
- uint8 Enabled;
- uint32 CRC;
- uint8 State;
- bool UsePublicKeyOrCRC;
-};
-
-struct SavedAddon
-{
- SavedAddon(const std::string& name, uint32 crc) : Name(name)
- {
- CRC = crc;
- }
-
- std::string Name;
- uint32 CRC;
-};
-
-#define STANDARD_ADDON_CRC 0x4c1c776d
-
-namespace AddonMgr
-{
- void LoadFromDB();
- void SaveAddon(AddonInfo const& addon);
- SavedAddon const* GetAddonInfo(const std::string& name);
-}
-
-#endif
-