1 /** DGui project file.
2 
3 Copyright: Trogu Antonio Davide 2011-2013
4 
5 License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
6 
7 Authors: Trogu Antonio Davide
8 */
9 module dguihub.core.handle;
10 
11 abstract class Handle(T) {
12    protected T _handle;
13 
14    @property public final bool created() const {
15       return cast(bool)this._handle;
16    }
17 
18    @property public  /*final*/ T handle() {
19       return this._handle;
20    }
21 }