mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04: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
|