00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
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