summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-05-30 21:33:36 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-05-30 21:33:36 +0000
commit05431a94d4a814fe0cc9e8a0fbd75d51dea1f8df (patch)
tree547204e7b17deffac1d11a9afebb9bd4204c9e0a /include
parentb2397fff6f87dab2e972f02f5016f23a8778773b (diff)
parent8cb8925921523e701c59f5b1ac1c37825528fec7 (diff)
downloadframeworks_native-05431a94d4a814fe0cc9e8a0fbd75d51dea1f8df.zip
frameworks_native-05431a94d4a814fe0cc9e8a0fbd75d51dea1f8df.tar.gz
frameworks_native-05431a94d4a814fe0cc9e8a0fbd75d51dea1f8df.tar.bz2
Merge "Bring back overloading to print String8/16."
Diffstat (limited to 'include')
-rw-r--r--include/binder/TextOutput.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/binder/TextOutput.h b/include/binder/TextOutput.h
index de2fbbe..974a194 100644
--- a/include/binder/TextOutput.h
+++ b/include/binder/TextOutput.h
@@ -25,6 +25,9 @@
// ---------------------------------------------------------------------------
namespace android {
+class String8;
+class String16;
+
class TextOutput
{
public:
@@ -76,6 +79,8 @@ TextOutput& operator<<(TextOutput& to, float);
TextOutput& operator<<(TextOutput& to, double);
TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func);
TextOutput& operator<<(TextOutput& to, const void*);
+TextOutput& operator<<(TextOutput& to, const String8& val);
+TextOutput& operator<<(TextOutput& to, const String16& val);
class TypeCode
{