OLD | NEW |
(Empty) | |
| 1 #ifndef COMMUNICATION_H |
| 2 #define COMMUNICATION_H |
| 3 |
| 4 #include <string> |
| 5 #include <vector> |
| 6 #include <Windows.h> |
| 7 |
| 8 namespace Communication |
| 9 { |
| 10 extern const std::wstring pipeName; |
| 11 const int bufferSize = 1024; |
| 12 |
| 13 std::string MarshalStrings(const std::vector<std::string>& strings); |
| 14 std::vector<std::string> UnmarshalStrings(const std::string& message); |
| 15 std::string ReadMessage(HANDLE pipe); |
| 16 void WriteMessage(HANDLE pipe, const std::string& message); |
| 17 } |
| 18 |
| 19 #endif |
OLD | NEW |