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 TYPE_LIST_WINDOW_H 6#define TYPE_LIST_WINDOW_H 7 8 9#include <Messenger.h> 10#include <Window.h> 11 12class BButton; 13class BMenu; 14class BTextControl; 15 16class MimeTypeListView; 17 18 19class TypeListWindow : public BWindow { 20 public: 21 TypeListWindow(const char* currentType, uint32 what, BWindow* target); 22 virtual ~TypeListWindow(); 23 24 virtual void MessageReceived(BMessage* message); 25 26 private: 27 BMessenger fTarget; 28 uint32 fWhat; 29 MimeTypeListView* fListView; 30 BButton* fSelectButton; 31}; 32 33#endif // TYPE_LIST_WINDOW_H 34