root/src/apps/launchbox/App.h
/*
 * Copyright 2006-2011, Stephan Aßmus <superstippi@gmx.de>.
 * All rights reserved. Distributed under the terms of the MIT License.
 */
#ifndef APP_H
#define APP_H


#include <Application.h>
#include <List.h>
#include <Size.h>


class MainWindow;


class App : public BApplication {
public:
                                                                App();
        virtual                                         ~App();

        virtual bool                            QuitRequested();
        virtual void                            ReadyToRun();
        virtual void                            MessageReceived(BMessage* message);

                        void                            SetNamePanelSize(const BSize& size);
                        BSize                           NamePanelSize();
                        bool                            AutoStart() { return fAutoStart; }

private:
                        void                            _StoreSettings();

                        BSize                           fNamePanelSize;
                        bool                            fAutoStart;
};


#endif // APP_H