2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
15 \brief PacketConsoleSysDir internal header */
17 #ifndef IH_SENF_senf_Packets_PacketConsoleSysDir_
18 #define IH_SENF_senf_Packets_PacketConsoleSysDir_ 1
21 #include <senf/Utils/singleton.hh>
23 ///////////////////////////////ih.p////////////////////////////////////////
29 #ifndef SENF_DISABLE_CONSOLE
31 class ConsoleDirManager
32 : public singleton<ConsoleDirManager>
35 using singleton<ConsoleDirManager>::instance;
36 using singleton<ConsoleDirManager>::alive;
38 console::ScopedDirectory<> & consoleDir();
43 console::LazyDirectory consoleDir_;
45 friend class singleton<ConsoleDirManager>;
52 ///////////////////////////////ih.e////////////////////////////////////////
60 // c-file-style: "senf"
61 // indent-tabs-mode: nil
62 // ispell-local-dictionary: "american"
63 // compile-command: "scons -u test"