Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (12 sloc) 0.323 kB
c764086 @keithw Templated version
authored
1 #ifndef PRINTER_HPP
2 #define PRINTER_HPP
3
4 #include "channel.hpp"
5
6 class Printer : public Channel {
7 public:
8 Printer() {}
9
10 void send( Packet pack );
11 bool sendable( void ) { return true; }
2046df9 @keithw Added comparison for equality
authored
12
13 bool operator==( const Printer & ) const { return true; }
fe63258 @keithw Roughly 5x speedup from hashing
authored
14 friend size_t hash_value( Printer const & ) { return 0; }
c764086 @keithw Templated version
authored
15 };
16
17 #endif
Something went wrong with that request. Please try again.