Fileutils.h

Go to the documentation of this file.
00001 #ifndef __UPDATOR_FILEUTILS_H__
00002 #define __UPDATOR_FILEUTILS_H__
00003 
00004 std::set<std::string> createOrListDirectory(const std::string & fullPath);
00005 
00006 struct ResourceDescriptor
00007 {
00008   ResourceDescriptor(const std::string & localPath,
00009                      const std::string & remotePath,
00010                      const std::string & crc);
00011 
00012   std::string m_localPath;
00013   std::string m_remotePath;
00014   std::string m_crc;
00015 };
00016 
00017 typedef std::vector<ResourceDescriptor> ResourceDescriptorsT;
00018 
00019 ResourceDescriptorsT getResourcesDescriptors(const std::string & localPath, 
00020                                              const std::string & remotePath,
00021                                              const std::string & url);
00022 
00023 void downloadFile(const std::string & remotePath, const std::string & localPath);
00024 
00025 #endif

Generated on Fri May 29 22:09:31 2009 for adh by  doxygen 1.5.9