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.dialogs.commondialog;
10 
11 public import dguihub.core.charset;
12 public import dguihub.core.winapi;
13 public import dguihub.canvas; // ???
14 
15 class CommonDialog(T1, T2) {
16    protected T1 _dlgStruct;
17    protected T2 _dlgRes;
18    protected string _title;
19 
20    @property public string title() {
21       return this._title;
22    }
23 
24    @property public void title(string s) {
25       this._title = s;
26    }
27 
28    @property public T2 result() {
29       return this._dlgRes;
30    }
31 
32    public abstract bool showDialog();
33 }