Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/shared/Communication.cpp

Issue 11013110: Cleanup (Closed)
Patch Set: Minor CallEngine refactoring Created July 26, 2013, 2:12 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/plugin/PluginClass.cpp ('K') | « src/shared/Communication.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/Communication.cpp
===================================================================
--- a/src/shared/Communication.cpp
+++ b/src/shared/Communication.cpp
@@ -44,6 +44,15 @@
hasType = false;
}
+Communication::ValueType Communication::InputBuffer::GetType()
+{
+ if (!hasType)
+ ReadBinary(currentType);
+
+ hasType = true;
+ return currentType;
+}
+
Communication::PipeConnectionError::PipeConnectionError()
: std::runtime_error(AppendErrorCode("Unable to connect to a named pipe"))
{
« src/plugin/PluginClass.cpp ('K') | « src/shared/Communication.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld