Core/Calendar: Fix compile without PCH

This commit is contained in:
Shauren
2012-02-25 15:32:55 +01:00
parent a0de042efe
commit 7b2672b17b
3 changed files with 15 additions and 14 deletions

View File

@@ -16,6 +16,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "Player.h"
#include "Calendar.h"
std::string CalendarInvite::GetDebugString() const

View File

@@ -875,7 +875,7 @@ void WorldSession::SendCalendarCommandResult(CalendarError err, char const* para
SendPacket(&data);
}
void WorldSession::SendCalendarRaidLockout(InstanceSave* save, bool add)
void WorldSession::SendCalendarRaidLockout(InstanceSave const* save, bool add)
{
sLog->outDebug(LOG_FILTER_NETWORKIO, "%s", add ? "SMSG_CALENDAR_RAID_LOCKOUT_ADDED" : "SMSG_CALENDAR_RAID_LOCKOUT_REMOVED");
time_t currTime = time(NULL);

View File

@@ -31,24 +31,25 @@
#include "WorldPacket.h"
#include "Cryptography/BigNumber.h"
struct ItemTemplate;
struct AuctionEntry;
struct DeclinedName;
struct MovementInfo;
class CalendarEvent;
class CalendarInvite;
class Creature;
class GameObject;
class InstanceSave;
class Item;
class LoginQueryHolder;
class Object;
class Player;
class Unit;
class GameObject;
class Quest;
class SpellCastTargets;
class Unit;
class Warden;
class WorldPacket;
class WorldSocket;
class LoginQueryHolder;
class SpellCastTargets;
class Warden;
struct AreaTableEntry;
struct AuctionEntry;
struct DeclinedName;
struct ItemTemplate;
struct LfgJoinResultData;
struct LfgLockStatus;
struct LfgPlayerBoot;
@@ -56,8 +57,7 @@ struct LfgProposal;
struct LfgReward;
struct LfgRoleCheck;
struct LfgUpdateData;
class CalendarEvent;
class CalendarInvite;
struct MovementInfo;
enum AccountDataType
{
@@ -892,7 +892,7 @@ class WorldSession
void SendCalendarEventStatus(CalendarEvent const& calendarEvent, CalendarInvite const& invite);
void SendCalendarEventModeratorStatusAlert(CalendarInvite const& invite);
void SendCalendarClearPendingAction();
void SendCalendarRaidLockout(InstanceSave* save, bool add);
void SendCalendarRaidLockout(InstanceSave const* save, bool add);
void SendCalendarRaidLockoutUpdated(InstanceSave const* save);
void SendCalendarCommandResult(CalendarError err, char const* param = NULL);