FTPView Class Reference

Main view window container. This contains the local and remote directory views and displays them. It also contains the address bars for the local and remote servers. More...

#include <view.h>

List of all members.

Public Member Functions

 FTPView (const os::Rect &, const os::String &)
 FTPView Constructor. This creates the different portions of the local and remote view window.
void SetServer (Server *pcServer)
 Set the server for the view. This sets the Server object for the local and remote views.
void HandleMessage (Message *pcMessage)
 Message Handler for the local and remote file views. This passes the correct events along to the different view components.
void AllAttached ()
 AllAttached Overloaded Function.
void ReRead ()
 ReRead Overloaded Function. Normally ReRead re-reads the directory contents.
os::Point GetPreferredSize (bool) const
 GetPreferredSize(bool) overloading function. Returns the current width and height for the preferred size.value This is ignored but required by the subclass.

Private Attributes

os::Splitter * m_pcSplitter
 Vertical splitter bar.
FTPRemoteViewremote
 Remote directory listing container view.
AddressFieldm_pcRemoteBar
 Contains the current remote file path buttons.
FTPLocalViewiconview
 Local directory listing container view.
AddressFieldm_pcLocalBar
 Contains the current local file path buttons.


Detailed Description

Main view window container. This contains the local and remote directory views and displays them. It also contains the address bars for the local and remote servers.

Todo:
This should be renamed to TransferrerView to reflect that it works with generic views, not just FTP views.


Constructor & Destructor Documentation

FTPView::FTPView ( const os::Rect &  cRect,
const os::String &  cName 
)

FTPView Constructor. This creates the different portions of the local and remote view window.

Parameters:
cRect The rectangle to pass to os::View.
cName The name for the view.


Member Function Documentation

void FTPView::SetServer ( Server pcServer  ) 

Set the server for the view. This sets the Server object for the local and remote views.

Parameters:
pcServer Pointer to server that should be set for the views.

void FTPView::HandleMessage ( Message *  pcMessage  ) 

Message Handler for the local and remote file views. This passes the correct events along to the different view components.

Parameters:
pcMessage Pointer to the message to handle.


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 21:16:44 2008 for Transferrer by  doxygen 1.5.1