fat: Greatly simplify and clean up dosfs_get_file_map().
[haiku.git] / src / preferences / datatranslations / DataTranslationsWindow.h
blob68e420750b591800e481c90cdf231c4333f26115
1 /*
2 * Copyright 2002-2007, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
5 * Authors:
6 * Oliver Siebenmarck
7 * Andrew McCall, mccall@digitalparadise.co.uk
8 * Michael Wilber
9 */
10 #ifndef DATA_TRANSLATIONS_WINDOW_H
11 #define DATA_TRANSLATIONS_WINDOW_H
14 #include <Box.h>
15 #include <Button.h>
16 #include <IconView.h>
17 #include <Path.h>
18 #include <View.h>
19 #include <Window.h>
21 #include "TranslatorListView.h"
24 class DataTranslationsWindow : public BWindow {
25 public:
26 DataTranslationsWindow();
27 ~DataTranslationsWindow();
29 virtual bool QuitRequested();
30 virtual void MessageReceived(BMessage* message);
32 private:
33 void _ShowInfoView();
34 status_t _GetTranslatorInfo(int32 id, const char*& name,
35 const char*& info, int32& version, BPath& path);
36 void _ShowInfoAlert(int32 id);
37 status_t _ShowConfigView(int32 id);
38 status_t _PopulateListView();
39 void _SetupViews();
41 TranslatorListView* fTranslatorListView;
43 BBox* fRightBox;
44 BView* fConfigView;
45 IconView* fIconView;
46 BButton* fButton;
50 #endif // DATA_TRANSLATIONS_WINDOW_H