]> Dogcows Code - chaz/openbox/blob - otk/assassin.hh
provide functions for grabbing and ungrabbing the keyboard and pointer
[chaz/openbox] / otk / assassin.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __assassin_hh
3 #define __assassin_hh
4
5 namespace otk {
6
7 struct PointerAssassin {
8 template<typename T>
9 inline void operator()(const T ptr) const {
10 delete ptr;
11 }
12 };
13
14 }
15
16 #endif // __assassin_hh
This page took 0.0375 seconds and 4 git commands to generate.