aboutsummaryrefslogtreecommitdiff
path: root/contrib/otshell_utils/windows_stream.h
blob: 859e7ee50de9bafae1a0dfdf6972b1482c3984c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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