00001 #ifndef __REMOTENODE_H__ 00002 #define __REMOTENODE_H__ 00003 00004 #include <util/string.h> 00005 #include <util/datetime.h> 00006 00007 00008 using namespace os; 00009 00013 class RemoteNode { 00014 public: 00015 00017 String GetName() 00018 { 00019 return( m_zName ); 00020 } 00021 00023 String GetPath() 00024 { 00025 return( m_zPath ); 00026 } 00027 00031 bool IsDir() 00032 { 00033 return( m_bIsDir ); 00034 } 00035 00038 size_t GetSize() 00039 { 00040 return( m_nSize ); 00041 } 00042 00044 uint32 GetPermissions() 00045 { 00046 return( m_nPermissions ); 00047 } 00048 00050 DateTime& GetTimestamp() 00051 { 00052 return( m_cTimestamp ); 00053 } 00054 00055 String m_zName; 00056 String m_zPath; 00057 bool m_bIsDir; 00058 size_t m_nSize; 00059 uint32 m_nPermissions; 00060 DateTime m_cTimestamp; 00061 }; 00062 00063 00064 #endif /* __REMOTENODE_H__ */ 00065