00001 #ifndef CONTAINER_VIEW_H 00002 #define CONTAINER_VIEW_H 00003 00004 #include <gui/view.h> 00005 #include <gui/splitter.h> 00006 #include <util/message.h> 00007 00008 class LocalIconView; 00009 class RemoteIconView; 00010 class AddressField; 00011 class Server; 00012 00013 using namespace os; 00014 00020 class ContainerView : public os::View 00021 { 00022 public: 00023 ContainerView(const os::Rect&, const os::String&); 00024 public: 00025 void SetServer( Server* pcServer ); 00026 00027 void HandleMessage( Message* pcMessage ); 00028 00029 void AllAttached(); 00030 void ReRead(); 00031 00032 os::Point GetPreferredSize(bool) const; 00033 private: 00034 00036 os::Splitter* m_pcSplitter; 00037 00039 RemoteIconView* remote; 00040 00042 AddressField* m_pcRemoteBar; 00043 00045 LocalIconView* local; //using this so we can use drag/drop 00046 00048 AddressField* m_pcLocalBar; 00049 }; 00050 00051 #endif /* CONTAINER_VIEW_H */ 00052