docs/ikteam: Delete most files.
[haiku.git] / src / preferences / filetypes / ApplicationTypesWindow.h
blob99ca2db9d60b880b6cef7134b7f1356c86c807df
1 /*
2 * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef APPLICATION_TYPES_WINDOW_H
6 #define APPLICATION_TYPES_WINDOW_H
9 #include <Alert.h>
10 #include <Mime.h>
11 #include <Window.h>
13 class BButton;
14 class BListView;
15 class BMenuField;
16 class BMimeType;
17 class BOutlineListView;
18 class BStringView;
19 class BTextView;
21 class MimeTypeListView;
22 class StringView;
25 class ApplicationTypesWindow : public BWindow {
26 public:
27 ApplicationTypesWindow(const BMessage& settings);
28 virtual ~ApplicationTypesWindow();
30 virtual void MessageReceived(BMessage* message);
31 virtual bool QuitRequested();
33 private:
34 BRect _Frame(const BMessage& settings) const;
35 void _SetType(BMimeType* type, int32 forceUpdate = 0);
36 void _UpdateCounter();
37 void _RemoveUninstalled();
39 private:
40 BMimeType fCurrentType;
42 MimeTypeListView* fTypeListView;
43 BButton* fRemoveTypeButton;
45 StringView* fNameView;
46 StringView* fSignatureView;
47 StringView* fPathView;
49 StringView* fVersionView;
50 StringView* fDescriptionLabel;
51 BTextView* fDescriptionView;
53 BButton* fTrackerButton;
54 BButton* fLaunchButton;
55 BButton* fEditButton;
58 #endif // APPLICATION_TYPES_WINDOW_H