summaryrefslogtreecommitdiff
path: root/binaryurp/source/reader.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'binaryurp/source/reader.hxx')
-rw-r--r--binaryurp/source/reader.hxx30
1 files changed, 14 insertions, 16 deletions
diff --git a/binaryurp/source/reader.hxx b/binaryurp/source/reader.hxx
index 6510bbb30706..2f3ec0dd9e2e 100644
--- a/binaryurp/source/reader.hxx
+++ b/binaryurp/source/reader.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BINARYURP_SOURCE_READER_HXX
-#define INCLUDED_BINARYURP_SOURCE_READER_HXX
+#pragma once
#include <sal/config.h>
@@ -31,37 +30,36 @@
#include "readerstate.hxx"
-namespace binaryurp {
- class Bridge;
- class Unmarshal;
+namespace binaryurp
+{
+class Bridge;
+class Unmarshal;
}
-namespace binaryurp {
-
-class Reader: public salhelper::Thread {
+namespace binaryurp
+{
+class Reader : public salhelper::Thread
+{
public:
- explicit Reader(rtl::Reference< Bridge > const & bridge);
+ explicit Reader(rtl::Reference<Bridge> const& bridge);
private:
virtual ~Reader() override;
virtual void execute() override;
- void readMessage(Unmarshal & unmarshal);
+ void readMessage(Unmarshal& unmarshal);
- void readReplyMessage(Unmarshal & unmarshal, sal_uInt8 flags1);
+ void readReplyMessage(Unmarshal& unmarshal, sal_uInt8 flags1);
- rtl::ByteSequence getTid(Unmarshal & unmarshal, bool newTid) const;
+ rtl::ByteSequence getTid(Unmarshal& unmarshal, bool newTid) const;
- rtl::Reference< Bridge > bridge_;
+ rtl::Reference<Bridge> bridge_;
com::sun::star::uno::TypeDescription lastType_;
OUString lastOid_;
rtl::ByteSequence lastTid_;
ReaderState state_;
};
-
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */