/* * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved. * Distributed under the terms of the MIT License. */ #ifndef APPLICATION_TYPE_WINDOW_H #define APPLICATION_TYPE_WINDOW_H #include #include #include class BButton; class BCheckBox; class BListView; class BMenuField; class BRadioButton; class BTextControl; class BTextView; class IconView; class MimeTypeListView; class ApplicationTypeWindow : public BWindow { public: ApplicationTypeWindow(BPoint position, const BEntry& entry); virtual ~ApplicationTypeWindow(); virtual void MessageReceived(BMessage* message); virtual bool QuitRequested(); private: BString _Title(const BEntry& entry); void _SetTo(const BEntry& entry); private: BEntry fEntry; BTextControl* fSignatureControl; IconView* fIconView; BCheckBox* fFlagsCheckBox; BRadioButton* fSingleLaunchButton; BRadioButton* fMultipleLaunchButton; BRadioButton* fExclusiveLaunchButton; BCheckBox* fArgsOnlyCheckBox; BCheckBox* fBackgroundAppCheckBox; BListView* fTypeListView; BButton* fAddTypeButton; BButton* fRemoveTypeButton; IconView* fTypeIconView; BTextControl* fMajorVersionControl; BTextControl* fMiddleVersionControl; BTextControl* fMinorVersionControl; BTextControl* fInternalVersionControl; BTextControl* fShortDescriptionControl; BTextView* fLongDescriptionView; }; #endif // APPLICATION_TYPE_WINDOW_H