mirror of
https://github.com/polybar/polybar.git
synced 2024-10-27 05:23:39 -04:00
e1e28f09f3
I don't know the original intention behind this but it clutters up debug traces and basically makes ccache useless. The only benefit it has, giving version info in stacktraces, is kind of void since we already ask for version information on github issues.
45 lines
710 B
C++
45 lines
710 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <functional>
|
|
|
|
#include "settings.hpp"
|
|
|
|
#define POLYBAR_NS \
|
|
namespace polybar {
|
|
#define POLYBAR_NS_END \
|
|
}
|
|
|
|
#ifndef PIPE_READ
|
|
#define PIPE_READ 0
|
|
#endif
|
|
#ifndef PIPE_WRITE
|
|
#define PIPE_WRITE 1
|
|
#endif
|
|
|
|
POLYBAR_NS
|
|
|
|
using std::string;
|
|
using std::size_t;
|
|
using std::move;
|
|
using std::forward;
|
|
using std::pair;
|
|
using std::function;
|
|
using std::shared_ptr;
|
|
using std::unique_ptr;
|
|
using std::make_unique;
|
|
using std::make_shared;
|
|
using std::make_pair;
|
|
using std::array;
|
|
using std::vector;
|
|
using std::to_string;
|
|
|
|
using namespace std::string_literals;
|
|
|
|
constexpr size_t operator"" _z(unsigned long long n) {
|
|
return n;
|
|
}
|
|
|
|
POLYBAR_NS_END
|