mirror of
https://github.com/monero-project/monero.git
synced 2024-12-15 12:56:33 +02:00
21 lines
379 B
C
21 lines
379 B
C
|
#ifndef WINDOWS_STREAM_H
|
||
|
#define WINDOWS_STREAM_H
|
||
|
|
||
|
#if defined(_WIN32)
|
||
|
|
||
|
#include <string>
|
||
|
#include <iostream>
|
||
|
|
||
|
class windows_stream
|
||
|
{
|
||
|
public:
|
||
|
windows_stream(unsigned int pLevel);
|
||
|
friend std::ostream& operator<<(std::ostream &stream, windows_stream const& object);
|
||
|
private:
|
||
|
unsigned int mLevel = 0;
|
||
|
};
|
||
|
|
||
|
#endif // _WIN32
|
||
|
|
||
|
#endif // WINDOWS_STREAM_H
|