xref: /haiku/src/apps/expander/ExpanderApp.h (revision 55a5a6bdfa5537e5422bf6ef0b1800537f981066)
1*55a5a6bdSJérôme Duval /*****************************************************************************/
2*55a5a6bdSJérôme Duval // Expander
3*55a5a6bdSJérôme Duval // Written by Jérôme Duval
4*55a5a6bdSJérôme Duval //
5*55a5a6bdSJérôme Duval // ExpanderApp.h
6*55a5a6bdSJérôme Duval //
7*55a5a6bdSJérôme Duval //
8*55a5a6bdSJérôme Duval // Copyright (c) 2004 OpenBeOS Project
9*55a5a6bdSJérôme Duval //
10*55a5a6bdSJérôme Duval // Permission is hereby granted, free of charge, to any person obtaining a
11*55a5a6bdSJérôme Duval // copy of this software and associated documentation files (the "Software"),
12*55a5a6bdSJérôme Duval // to deal in the Software without restriction, including without limitation
13*55a5a6bdSJérôme Duval // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14*55a5a6bdSJérôme Duval // and/or sell copies of the Software, and to permit persons to whom the
15*55a5a6bdSJérôme Duval // Software is furnished to do so, subject to the following conditions:
16*55a5a6bdSJérôme Duval //
17*55a5a6bdSJérôme Duval // The above copyright notice and this permission notice shall be included
18*55a5a6bdSJérôme Duval // in all copies or substantial portions of the Software.
19*55a5a6bdSJérôme Duval //
20*55a5a6bdSJérôme Duval // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21*55a5a6bdSJérôme Duval // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22*55a5a6bdSJérôme Duval // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23*55a5a6bdSJérôme Duval // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24*55a5a6bdSJérôme Duval // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25*55a5a6bdSJérôme Duval // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26*55a5a6bdSJérôme Duval // DEALINGS IN THE SOFTWARE.
27*55a5a6bdSJérôme Duval /*****************************************************************************/
28*55a5a6bdSJérôme Duval 
29*55a5a6bdSJérôme Duval #ifndef _ExpanderApp_h
30*55a5a6bdSJérôme Duval #define _ExpanderApp_h
31*55a5a6bdSJérôme Duval 
32*55a5a6bdSJérôme Duval #include <Application.h>
33*55a5a6bdSJérôme Duval #include "ExpanderSettings.h"
34*55a5a6bdSJérôme Duval #include "ExpanderWindow.h"
35*55a5a6bdSJérôme Duval 
36*55a5a6bdSJérôme Duval class ExpanderApp : public BApplication {
37*55a5a6bdSJérôme Duval public:
38*55a5a6bdSJérôme Duval 	ExpanderApp();
39*55a5a6bdSJérôme Duval 
40*55a5a6bdSJérôme Duval public:
41*55a5a6bdSJérôme Duval 	virtual void AboutRequested();
42*55a5a6bdSJérôme Duval 	virtual void ArgvReceived(int32 argc, char **argv);
43*55a5a6bdSJérôme Duval 	virtual void ReadyToRun();
44*55a5a6bdSJérôme Duval 	virtual void RefsReceived(BMessage *msg);
45*55a5a6bdSJérôme Duval 
46*55a5a6bdSJérôme Duval 	ExpanderSettings fSettings;
47*55a5a6bdSJérôme Duval 	void UpdateSettingsFrom(BMessage *message);
48*55a5a6bdSJérôme Duval private:
49*55a5a6bdSJérôme Duval 	ExpanderWindow *fWindow;
50*55a5a6bdSJérôme Duval };
51*55a5a6bdSJérôme Duval 
52*55a5a6bdSJérôme Duval #endif /* _ExpanderApp_h */
53