diff options
author | Jeff Sharkey <jsharkey@android.com> | 2013-05-30 13:53:39 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2013-05-30 14:04:28 -0700 |
commit | 8cb8925921523e701c59f5b1ac1c37825528fec7 (patch) | |
tree | 4bd0aa92c16e0947455404112ec043928bb88dab /include/binder | |
parent | c40f4e64f267c78ff04862456092002d318a8adc (diff) | |
download | frameworks_native-8cb8925921523e701c59f5b1ac1c37825528fec7.zip frameworks_native-8cb8925921523e701c59f5b1ac1c37825528fec7.tar.gz frameworks_native-8cb8925921523e701c59f5b1ac1c37825528fec7.tar.bz2 |
Bring back overloading to print String8/16.
Change-Id: Iecab20db2b8574d5f1e6fdefdc2c8d4ce6c37121
Diffstat (limited to 'include/binder')
-rw-r--r-- | include/binder/TextOutput.h | 5 |
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 { |