added forward declarations for service interface streams

This commit is contained in:
Robin Müller 2020-06-03 23:10:04 +02:00
parent 1c0ca4c329
commit 5b93799ea6

View File

@ -44,5 +44,13 @@ public:
std::string getPreamble(); std::string getPreamble();
}; };
// Forward declaration of interface streams. These are needed so the public
// functions can be used by including this header
namespace sif {
extern ServiceInterfaceStream debugStream;
extern ServiceInterfaceStream infoStream;
extern ServiceInterfaceStream warningStream;
extern ServiceInterfaceStream errorStream;
}
#endif /* FRAMEWORK_SERVICEINTERFACE_SERVICEINTERFACESTREAM_H_ */ #endif /* FRAMEWORK_SERVICEINTERFACE_SERVICEINTERFACESTREAM_H_ */