libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / preferences / datatranslations / DataTranslationsWindow.h
blobfa2c0cbd7d22700d2b0bd48587bec29efad3df10
1 /*
2 * Copyright 2002-2015, 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 BTranslatorReleaseDelegate;
25 class BTextView;
28 class DataTranslationsWindow : public BWindow {
29 public:
30 DataTranslationsWindow();
31 ~DataTranslationsWindow();
33 virtual bool QuitRequested();
34 virtual void MessageReceived(BMessage* message);
36 private:
37 void _ShowInfoView();
38 status_t _GetTranslatorInfo(int32 id, const char*& name,
39 const char*& info, int32& version, BPath& path);
40 void _ShowInfoAlert(int32 id);
41 status_t _ShowConfigView(int32 id);
42 status_t _PopulateListView();
43 void _SetupViews();
45 TranslatorListView* fTranslatorListView;
46 BTranslatorReleaseDelegate* fRelease;
48 BBox* fRightBox;
49 BView* fConfigView;
50 IconView* fIconView;
51 BButton* fButton;
52 BTextView* fInfoText;
56 #endif // DATA_TRANSLATIONS_WINDOW_H