xref: /haiku/src/apps/expander/ExpanderApp.h (revision e326cef6202a94eeab5149052a48c05db8000eaa)
155a5a6bdSJérôme Duval /*****************************************************************************/
255a5a6bdSJérôme Duval // Expander
355a5a6bdSJérôme Duval // Written by Jérôme Duval
455a5a6bdSJérôme Duval //
555a5a6bdSJérôme Duval // ExpanderApp.h
655a5a6bdSJérôme Duval //
755a5a6bdSJérôme Duval //
855a5a6bdSJérôme Duval // Copyright (c) 2004 OpenBeOS Project
955a5a6bdSJérôme Duval //
1055a5a6bdSJérôme Duval // Permission is hereby granted, free of charge, to any person obtaining a
1155a5a6bdSJérôme Duval // copy of this software and associated documentation files (the "Software"),
1255a5a6bdSJérôme Duval // to deal in the Software without restriction, including without limitation
1355a5a6bdSJérôme Duval // the rights to use, copy, modify, merge, publish, distribute, sublicense,
1455a5a6bdSJérôme Duval // and/or sell copies of the Software, and to permit persons to whom the
1555a5a6bdSJérôme Duval // Software is furnished to do so, subject to the following conditions:
1655a5a6bdSJérôme Duval //
1755a5a6bdSJérôme Duval // The above copyright notice and this permission notice shall be included
1855a5a6bdSJérôme Duval // in all copies or substantial portions of the Software.
1955a5a6bdSJérôme Duval //
2055a5a6bdSJérôme Duval // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2155a5a6bdSJérôme Duval // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2255a5a6bdSJérôme Duval // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
2355a5a6bdSJérôme Duval // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2455a5a6bdSJérôme Duval // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2555a5a6bdSJérôme Duval // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2655a5a6bdSJérôme Duval // DEALINGS IN THE SOFTWARE.
2755a5a6bdSJérôme Duval /*****************************************************************************/
28*e326cef6SJohn Scipione #ifndef _EXPANDER_APP_H
29*e326cef6SJohn Scipione #define _EXPANDER_APP_H
3055a5a6bdSJérôme Duval 
3111c7ff53SJonas Sundström 
3255a5a6bdSJérôme Duval #include <Application.h>
3311c7ff53SJonas Sundström 
3455a5a6bdSJérôme Duval #include "ExpanderSettings.h"
3555a5a6bdSJérôme Duval #include "ExpanderWindow.h"
3655a5a6bdSJérôme Duval 
3711c7ff53SJonas Sundström 
3855a5a6bdSJérôme Duval class ExpanderApp : public BApplication {
3955a5a6bdSJérôme Duval public:
4055a5a6bdSJérôme Duval 								ExpanderApp();
4155a5a6bdSJérôme Duval 
4255a5a6bdSJérôme Duval 	virtual	void				ArgvReceived(int32 argc, char** argv);
4355a5a6bdSJérôme Duval 	virtual	void				RefsReceived(BMessage* msg);
4455a5a6bdSJérôme Duval 
4555a5a6bdSJérôme Duval 			void				UpdateSettingsFrom(BMessage* message);
4611c7ff53SJonas Sundström 
4711c7ff53SJonas Sundström 			ExpanderSettings	fSettings;
4855a5a6bdSJérôme Duval private:
4955a5a6bdSJérôme Duval 			ExpanderWindow*		fWindow;
5055a5a6bdSJérôme Duval };
5155a5a6bdSJérôme Duval 
5211c7ff53SJonas Sundström 
53*e326cef6SJohn Scipione #endif	// _EXPANDER_APP_H
54