2017-03-03 19:24:26 +08:00
|
|
|
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
2017-03-07 21:46:58 +08:00
|
|
|
// This file is included before any other file in every compile unit within the
|
|
|
|
// plugin.
|
2017-03-03 19:24:26 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ModuleManager.h"
|
|
|
|
|
2017-03-07 23:33:59 +08:00
|
|
|
#include "NonCopyable.h"
|
2017-03-07 21:46:58 +08:00
|
|
|
|
|
|
|
DECLARE_LOG_CATEGORY_EXTERN(LogCarla, Log, All);
|
2017-03-24 21:10:05 +08:00
|
|
|
DECLARE_LOG_CATEGORY_EXTERN(LogCarlaServer, Log, All);
|
2017-03-07 21:46:58 +08:00
|
|
|
|
2017-04-04 18:28:41 +08:00
|
|
|
// Options to compile with extra debug options.
|
|
|
|
#ifdef WITH_EDITOR
|
2017-04-19 20:26:14 +08:00
|
|
|
// #define CARLA_ROAD_GENERATOR_EXTRA_LOG /// @todo #1 Crashes in Linux.
|
|
|
|
// #define CARLA_SERVER_EXTRA_LOG
|
2017-04-20 00:14:25 +08:00
|
|
|
// #define CARLA_TAGGER_EXTRA_LOG
|
2017-04-04 18:28:41 +08:00
|
|
|
#endif // WITH_EDITOR
|
|
|
|
|
2017-03-03 19:24:26 +08:00
|
|
|
class FCarlaModule : public IModuleInterface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
/** IModuleInterface implementation */
|
|
|
|
virtual void StartupModule() override;
|
|
|
|
virtual void ShutdownModule() override;
|
2017-03-07 21:46:58 +08:00
|
|
|
};
|