address_field.h

00001 // EFileBrowser (C)opyright 2007 Jonas Jarvoll
00002 //
00003 // This is free software; you can redistribute it and/or modify it
00004 // under the terms of the GNU General Public License as published by
00005 // the Free Software Foundation; either version 2 of the License, or
00006 // (at your option) any later version.
00007 //
00008 // This program is distributed in the hope that it will be useful, but
00009 // WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00011 // See the GNU General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU General Public License
00014 // along with this program; if not, write to the Free Software
00015 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00016 
00017 #ifndef __ADDRESS_FIELD_H_
00018 #define __ADDRESS_FIELD_H_
00019 
00020 #include <gui/view.h>
00021 #include <util/string.h>
00022 #include <gui/rect.h>
00023 #include <util/invoker.h>
00024 #include <util/message.h>
00025 
00029 class AddressField : public os::View, public os::Invoker
00030 {
00031 public:
00032         AddressField( os::String path, os::Message* msg );
00033         ~AddressField();
00034 
00035         virtual os::Point GetPreferredSize( bool bLargest ) const;
00036 
00037         status_t SetTarget( const os::Handler* pcHandler, const os::Looper* pcLooper = NULL);
00038 
00039         void SetPath( os::String path );
00040         os::String GetPath();
00041 private:
00042         class _Private;
00043         _Private* m; 
00044 };
00045 
00046 #endif
00047 

Generated on Fri Jan 2 17:22:42 2009 for Transferrer by  doxygen 1.5.1