diff --git a/iface/CMakeLists.txt b/iface/CMakeLists.txt index c010c9d..12edc84 100644 --- a/iface/CMakeLists.txt +++ b/iface/CMakeLists.txt @@ -15,8 +15,10 @@ target_sources(nf7_iface common/observer.hh common/task.hh common/value.hh + data/interface.hh subsys/interface.hh env.hh + file.hh lambda.hh version.hh ) diff --git a/iface/data/interface.hh b/iface/data/interface.hh new file mode 100644 index 0000000..b43b7f1 --- /dev/null +++ b/iface/data/interface.hh @@ -0,0 +1,23 @@ +// No copyright +#pragma once + +namespace nf7::data { + +class Interface { + public: + Interface() = delete; + explicit Interface(const char* name) : name_(name) { } + virtual ~Interface() = default; + + Interface(const Interface&) = delete; + Interface(Interface&&) = delete; + Interface& operator=(const Interface&) = delete; + Interface& operator=(Interface&&) = delete; + + const char* name() const noexcept { return name_; } + + private: + const char* name_; +}; + +} // namespace nf7::data diff --git a/iface/file.hh b/iface/file.hh new file mode 100644 index 0000000..c8e2c1d --- /dev/null +++ b/iface/file.hh @@ -0,0 +1,11 @@ +// No copyright +#pragma once + +#include "iface/common/container.hh" +#include "iface/data/interface.hh" + +namespace nf7 { + +using File = Container; + +} // namespace nf7