~marmuta/onboardosk/trunk

« back to all changes in this revision

Viewing changes to src/libonboardosk/tools/border.h

  • Committer: marmuta
  • Date: 2017-08-23 22:00:55 UTC
  • mfrom: (0.1.25 onboardosk)
  • Revision ID: marmvta@gmail.com-20170823220055-4y6meaas01uct8wm
Attempt at reducing include dependencies. Marginally effective.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef BORDER_H
 
2
#define BORDER_H
 
3
 
 
4
#include <ostream>
 
5
 
 
6
#include "border_decl.h"
 
7
 
 
8
 
 
9
template<class T>
 
10
std::ostream& operator<<(std::ostream& s, const TBorder<T>& b){
 
11
    s << "Border(" << b.left << ", " << b.top << ", " << b.right << ", " << b.bottom << ")";
 
12
    return s;
 
13
}
 
14
 
 
15
#endif // BORDER_H