Commit 2b2b35a9 authored by Dominik Charousset's avatar Dominik Charousset

Reduce dependencies of actor_system_config

parent 896f0105
......@@ -28,7 +28,6 @@
#include "caf/actor_factory.hpp"
#include "caf/config_option.hpp"
#include "caf/config_option_adder.hpp"
#include "caf/config_option_set.hpp"
#include "caf/config_value.hpp"
#include "caf/fwd.hpp"
......
......@@ -59,10 +59,12 @@
#include "caf/typed_actor.hpp"
#include "caf/stream_slot.hpp"
#include "caf/actor_system.hpp"
#include "caf/config_value.hpp"
#include "caf/deserializer.hpp"
#include "caf/scoped_actor.hpp"
#include "caf/upstream_msg.hpp"
#include "caf/actor_ostream.hpp"
#include "caf/config_option.hpp"
#include "caf/function_view.hpp"
#include "caf/index_mapping.hpp"
#include "caf/spawn_options.hpp"
......@@ -89,10 +91,12 @@
#include "caf/composed_behavior.hpp"
#include "caf/event_based_actor.hpp"
#include "caf/primitive_variant.hpp"
#include "caf/make_config_option.hpp"
#include "caf/timeout_definition.hpp"
#include "caf/actor_system_config.hpp"
#include "caf/binary_deserializer.hpp"
#include "caf/composable_behavior.hpp"
#include "caf/config_option_adder.hpp"
#include "caf/typed_actor_pointer.hpp"
#include "caf/scoped_execution_unit.hpp"
#include "caf/typed_response_promise.hpp"
......
......@@ -135,6 +135,16 @@ struct invalid_actor_addr_t;
struct illegal_message_element;
struct prohibit_top_level_spawn_marker;
// -- free template functions --------------------------------------------------
template <class T>
config_option make_config_option(const char* category, const char* name,
const char* description);
template <class T>
config_option make_config_option(T& storage, const char* category,
const char* name, const char* description);
// -- enums --------------------------------------------------------------------
enum class stream_priority;
......
......@@ -23,6 +23,7 @@
#include <fstream>
#include <sstream>
#include "caf/config_option_adder.hpp"
#include "caf/defaults.hpp"
#include "caf/detail/gcd.hpp"
#include "caf/detail/ini_consumer.hpp"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment