1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-07-12 23:27:45 +00:00
sapphire/src/common/Forwards.h

43 lines
756 B
C
Raw Normal View History

2017-08-08 13:53:47 +02:00
#ifndef _COMMON_FORWARDS_H
#define _COMMON_FORWARDS_H
#include <boost/shared_ptr.hpp>
2017-11-21 13:20:43 +00:00
#include <chrono>
using namespace std::chrono_literals;
using time_point = std::chrono::steady_clock::time_point;
using duration = std::chrono::steady_clock::duration;
2017-08-08 13:53:47 +02:00
namespace Core
{
class XMLConfig;
typedef boost::shared_ptr<XMLConfig> XMLConfigPtr;
namespace Network
{
class Hive;
class Acceptor;
class Connection;
typedef boost::shared_ptr<Hive> HivePtr;
typedef boost::shared_ptr<Acceptor> AcceptorPtr;
typedef boost::shared_ptr<Connection> ConnectionPtr;
namespace Packets
{
class GamePacket;
typedef boost::shared_ptr<GamePacket> GamePacketPtr;
}
}
}
#endif