kNet.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* Copyright The kNet Project.
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. http://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. See the License for the specific language governing permissions and
  10. limitations under the License. */
  11. #pragma once
  12. /** @file kNet.h
  13. @brief The main file of kNet that #includes all the commonly used headers for the the
  14. client application. This file is ideal to be added to a PCH. If you are not using a PCH,
  15. #including the individual files when necessary is most likely faster. */
  16. #include "kNetBuildConfig.h"
  17. #include "kNetFwd.h"
  18. #ifdef WIN32
  19. #include "kNet/win32/WS2Include.h"
  20. #endif
  21. #include "kNet/Clock.h"
  22. #include "kNet/DataDeserializer.h"
  23. #include "kNet/DataSerializer.h"
  24. #include "kNet/EndPoint.h"
  25. #include "kNet/Event.h"
  26. #include "kNet/EventArray.h"
  27. #include "kNet/IMessageHandler.h"
  28. #include "kNet/INetworkServerListener.h"
  29. #include "kNet/Lockable.h"
  30. #include "kNet/MaxHeap.h"
  31. #include "kNet/MessageConnection.h"
  32. #include "kNet/MessageListParser.h"
  33. #include "kNet/NetException.h"
  34. #include "kNet/Network.h"
  35. #include "kNet/NetworkLogging.h"
  36. #include "kNet/NetworkMessage.h"
  37. #include "kNet/NetworkServer.h"
  38. #include "kNet/PolledTimer.h"
  39. #include "kNet/SerializationStructCompiler.h"
  40. #include "kNet/SerializedDataIterator.h"
  41. #include "kNet/SharedPtr.h"
  42. #include "kNet/Socket.h"
  43. #include "kNet/Sort.h"
  44. #include "kNet/Thread.h"
  45. #include "kNet/Types.h"
  46. #include "kNet/VLEPacker.h"
  47. #include "kNet/WaitFreeQueue.h"
  48. #include "kNet/64BitAllocDebugger.h"
  49. #ifdef KNET_USE_QT
  50. #include "kNet/qt/NetworkDialog.h"
  51. #include "kNet/qt/MessageConnectionDialog.h"
  52. #endif