FTPLocalView Class Reference

FTPLocalView shows a view of the current local directory. This extends os::IconDirectoryView in order to support viewing the local directory and storing the current server associated with the view. More...

#include <localview.h>

List of all members.

Public Member Functions

 FTPLocalView (const os::Rect &, const String &zName)
 FTPLocalView Constructor. This simply initializes the current server to NULL.
void SetServer (Server *pcServer)
 Set the server for the local view. This sets the Server object for the local view.
ServerGetServer ()
 Retrieve Server associated with the local view. Returns a pointer to the Server object associated with the local view.
void MouseUp (const Point &cPosition, uint32 nButtons, Message *pcData)
 Mouse Up Handler callback. This handles when the mouse button is released.
void MouseMove (const Point &cPos, int nCode, uint32 nButtons, Message *pcData)
 Mouse Movement Handler callback. This handles mouse movements and dragging.

Private Attributes

Serverm_pcServer
 Current Server object associated with the local view.


Detailed Description

FTPLocalView shows a view of the current local directory. This extends os::IconDirectoryView in order to support viewing the local directory and storing the current server associated with the view.

Todo:
This should be renamed since it works with any type of server, not just an FTPServer.


Constructor & Destructor Documentation

FTPLocalView::FTPLocalView ( const os::Rect &  cRect,
const String &  zName 
)

FTPLocalView Constructor. This simply initializes the current server to NULL.

Todo:
zName is currently ignored because of a limitation with libsyllable (to be fixed in later version).


Member Function Documentation

void FTPLocalView::SetServer ( Server pcServer  ) 

Set the server for the local view. This sets the Server object for the local view.

Parameters:
pcServer The server to set for the local view.


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