make include guards standards conforming

fix compile issues
This commit is contained in:
David Markowitz
2024-10-30 00:30:20 -07:00
parent bfe6900c26
commit 9655f0ee45
167 changed files with 497 additions and 497 deletions

View File

@@ -1,5 +1,5 @@
#ifndef __CDCLIENTMANAGER__H__
#define __CDCLIENTMANAGER__H__
#ifndef CDCLIENTMANAGER_H
#define CDCLIENTMANAGER_H
#define UNUSED_TABLE(v)
@@ -41,4 +41,4 @@ T* CDClientManager::GetTable() {
return &T::Instance();
};
#endif //!__CDCLIENTMANAGER__H__
#endif //!CDCLIENTMANAGER_H

View File

@@ -1,5 +1,5 @@
#ifndef __GAMEDATABASE__H__
#define __GAMEDATABASE__H__
#ifndef GAMEDATABASE_H
#define GAMEDATABASE_H
#include <optional>
@@ -56,4 +56,4 @@ public:
virtual void DeleteCharacter(const uint32_t characterId) = 0;
};
#endif //!__GAMEDATABASE__H__
#endif //!GAMEDATABASE_H

View File

@@ -1,5 +1,5 @@
#ifndef __IACCOUNTS__H__
#define __IACCOUNTS__H__
#ifndef IACCOUNTS_H
#define IACCOUNTS_H
#include <cstdint>
#include <optional>
@@ -38,4 +38,4 @@ public:
virtual void UpdateAccountGmLevel(const uint32_t accountId, const eGameMasterLevel gmLevel) = 0;
};
#endif //!__IACCOUNTS__H__
#endif //!IACCOUNTS_H

View File

@@ -1,5 +1,5 @@
#ifndef __IACCOUNTSREWARDCODES__H__
#define __IACCOUNTSREWARDCODES__H__
#ifndef IACCOUNTSREWARDCODES_H
#define IACCOUNTSREWARDCODES_H
#include <cstdint>
#include <vector>
@@ -10,4 +10,4 @@ public:
virtual std::vector<uint32_t> GetRewardCodesByAccountID(const uint32_t account_id) = 0;
};
#endif //!__IACCOUNTSREWARDCODES__H__
#endif //!IACCOUNTSREWARDCODES_H

View File

@@ -1,5 +1,5 @@
#ifndef __IACTIVITYLOG__H__
#define __IACTIVITYLOG__H__
#ifndef IACTIVITYLOG_H
#define IACTIVITYLOG_H
#include <cstdint>
@@ -16,4 +16,4 @@ public:
virtual void UpdateActivityLog(const uint32_t characterId, const eActivityType activityType, const LWOMAPID mapId) = 0;
};
#endif //!__IACTIVITYLOG__H__
#endif //!IACTIVITYLOG_H

View File

@@ -1,5 +1,5 @@
#ifndef __IBUGREPORTS__H__
#define __IBUGREPORTS__H__
#ifndef IBUGREPORTS_H
#define IBUGREPORTS_H
#include <cstdint>
#include <string_view>
@@ -17,4 +17,4 @@ public:
// Add a new bug report to the database.
virtual void InsertNewBugReport(const Info& info) = 0;
};
#endif //!__IBUGREPORTS__H__
#endif //!IBUGREPORTS_H

View File

@@ -1,5 +1,5 @@
#ifndef __ICHARINFO__H__
#define __ICHARINFO__H__
#ifndef ICHARINFO_H
#define ICHARINFO_H
#include <cstdint>
#include <optional>
@@ -46,4 +46,4 @@ public:
virtual void UpdateLastLoggedInCharacter(const uint32_t characterId) = 0;
};
#endif //!__ICHARINFO__H__
#endif //!ICHARINFO_H

View File

@@ -1,5 +1,5 @@
#ifndef __ICHARXML__H__
#define __ICHARXML__H__
#ifndef ICHARXML_H
#define ICHARXML_H
#include <cstdint>
#include <string>
@@ -17,4 +17,4 @@ public:
virtual void InsertCharacterXml(const uint32_t characterId, const std::string_view lxfml) = 0;
};
#endif //!__ICHARXML__H__
#endif //!ICHARXML_H

View File

@@ -1,5 +1,5 @@
#ifndef __ICOMMANDLOG__H__
#define __ICOMMANDLOG__H__
#ifndef ICOMMANDLOG_H
#define ICOMMANDLOG_H
#include <cstdint>
#include <string_view>
@@ -11,4 +11,4 @@ public:
virtual void InsertSlashCommandUsage(const uint32_t characterId, const std::string_view command) = 0;
};
#endif //!__ICOMMANDLOG__H__
#endif //!ICOMMANDLOG_H

View File

@@ -1,5 +1,5 @@
#ifndef __IFRIENDS__H__
#define __IFRIENDS__H__
#ifndef IFRIENDS_H
#define IFRIENDS_H
#include <cstdint>
#include <optional>
@@ -29,4 +29,4 @@ public:
virtual void RemoveFriend(const uint32_t playerCharacterId, const uint32_t friendCharacterId) = 0;
};
#endif //!__IFRIENDS__H__
#endif //!IFRIENDS_H

View File

@@ -1,5 +1,5 @@
#ifndef __IIGNORELIST__H__
#define __IIGNORELIST__H__
#ifndef IIGNORELIST_H
#define IIGNORELIST_H
#include <cstdint>
#include <string>
@@ -17,4 +17,4 @@ public:
virtual void RemoveIgnore(const uint32_t playerId, const uint32_t ignoredPlayerId) = 0;
};
#endif //!__IIGNORELIST__H__
#endif //!IIGNORELIST_H

View File

@@ -1,5 +1,5 @@
#ifndef __ILEADERBOARD__H__
#define __ILEADERBOARD__H__
#ifndef ILEADERBOARD_H
#define ILEADERBOARD_H
#include <cstdint>
#include <optional>
@@ -11,4 +11,4 @@ public:
virtual std::optional<uint32_t> GetDonationTotal(const uint32_t activityId) = 0;
};
#endif //!__ILEADERBOARD__H__
#endif //!ILEADERBOARD_H

View File

@@ -1,5 +1,5 @@
#ifndef __IMAIL__H__
#define __IMAIL__H__
#ifndef IMAIL_H
#define IMAIL_H
#include <cstdint>
#include <optional>
@@ -51,4 +51,4 @@ public:
virtual void DeleteMail(const uint64_t mailId) = 0;
};
#endif //!__IMAIL__H__
#endif //!IMAIL_H

View File

@@ -1,5 +1,5 @@
#ifndef __IMIGRATIONHISTORY__H__
#define __IMIGRATIONHISTORY__H__
#ifndef IMIGRATIONHISTORY_H
#define IMIGRATIONHISTORY_H
#include <string_view>
@@ -14,4 +14,4 @@ public:
// Insert the given migration into the migration history table.
virtual void InsertMigration(const std::string_view str) = 0;
};
#endif //!__IMIGRATIONHISTORY__H__
#endif //!IMIGRATIONHISTORY_H

View File

@@ -1,5 +1,5 @@
#ifndef __IOBJECTIDTRACKER__H__
#define __IOBJECTIDTRACKER__H__
#ifndef IOBJECTIDTRACKER_H
#define IOBJECTIDTRACKER_H
#include <cstdint>
#include <optional>
@@ -16,4 +16,4 @@ public:
virtual void UpdatePersistentId(const uint32_t newId) = 0;
};
#endif //!__IOBJECTIDTRACKER__H__
#endif //!IOBJECTIDTRACKER_H

View File

@@ -1,5 +1,5 @@
#ifndef __IPETNAMES__H__
#define __IPETNAMES__H__
#ifndef IPETNAMES_H
#define IPETNAMES_H
#include <cstdint>
#include <optional>
@@ -18,4 +18,4 @@ public:
virtual std::optional<IPetNames::Info> GetPetNameInfo(const LWOOBJID& petId) = 0;
};
#endif //!__IPETNAMES__H__
#endif //!IPETNAMES_H

View File

@@ -1,5 +1,5 @@
#ifndef __IPLAYKEYS__H__
#define __IPLAYKEYS__H__
#ifndef IPLAYKEYS_H
#define IPLAYKEYS_H
#include <cstdint>
#include <optional>
@@ -12,4 +12,4 @@ public:
virtual std::optional<bool> IsPlaykeyActive(const int32_t playkeyId) = 0;
};
#endif //!__IPLAYKEYS__H__
#endif //!IPLAYKEYS_H

View File

@@ -1,5 +1,5 @@
#ifndef __IPLAYERCHEATDETECTIONS__H__
#define __IPLAYERCHEATDETECTIONS__H__
#ifndef IPLAYERCHEATDETECTIONS_H
#define IPLAYERCHEATDETECTIONS_H
#include <cstdint>
#include <optional>
@@ -17,4 +17,4 @@ public:
virtual void InsertCheatDetection(const IPlayerCheatDetections::Info& info) = 0;
};
#endif //!__IPLAYERCHEATDETECTIONS__H__
#endif //!IPLAYERCHEATDETECTIONS_H

View File

@@ -1,5 +1,5 @@
#ifndef __IPROPERTY__H__
#define __IPROPERTY__H__
#ifndef IPROPERTY_H
#define IPROPERTY_H
#include <cstdint>
#include <optional>
@@ -35,4 +35,4 @@ public:
// Insert a new property into the database.
virtual void InsertNewProperty(const IProperty::Info& info, const uint32_t templateId, const LWOZONEID& zoneId) = 0;
};
#endif //!__IPROPERTY__H__
#endif //!IPROPERTY_H

View File

@@ -1,5 +1,5 @@
#ifndef __IPROPERTIESCONTENTS__H__
#define __IPROPERTIESCONTENTS__H__
#ifndef IPROPERTIESCONTENTS_H
#define IPROPERTIESCONTENTS_H
#include <array>
#include <cstdint>
@@ -39,4 +39,4 @@ public:
// Remove the model for the given property id.
virtual void RemoveModel(const LWOOBJID& modelId) = 0;
};
#endif //!__IPROPERTIESCONTENTS__H__
#endif //!IPROPERTIESCONTENTS_H

View File

@@ -1,5 +1,5 @@
#ifndef __ISERVERS__H__
#define __ISERVERS__H__
#ifndef ISERVERS_H
#define ISERVERS_H
#include <cstdint>
#include <optional>
@@ -18,4 +18,4 @@ public:
virtual std::optional<MasterInfo> GetMasterInfo() = 0;
};
#endif //!__ISERVERS__H__
#endif //!ISERVERS_H

View File

@@ -1,5 +1,5 @@
#ifndef __IUGC__H__
#define __IUGC__H__
#ifndef IUGC_H
#define IUGC_H
#include <cstdint>
#include <sstream>
@@ -29,4 +29,4 @@ public:
// Inserts a new UGC model into the database.
virtual void UpdateUgcModelData(const LWOOBJID& modelId, std::istringstream& lxfml) = 0;
};
#endif //!__IUGC__H__
#endif //!IUGC_H

View File

@@ -1,5 +1,5 @@
#ifndef __MYSQLDATABASE__H__
#define __MYSQLDATABASE__H__
#ifndef MYSQLDATABASE_H
#define MYSQLDATABASE_H
#include <conncpp.hpp>
#include <memory>
@@ -251,4 +251,4 @@ inline void SetParam(UniquePreppedStmtRef stmt, const int index, const std::opti
}
}
#endif //!__MYSQLDATABASE__H__
#endif //!MYSQLDATABASE_H