1 #ifndef SG_PACKAGE_INSTALL_HXX
2 #define SG_PACKAGE_INSTALL_HXX
6 #include <simgear/misc/sg_path.hxx>
25 * create from a directory on disk, or fail.
27 static Install* createFromPath(const SGPath& aPath, Catalog* aCat);
29 unsigned int revsion() const
30 { return m_revision; }
32 Package* package() const
38 bool hasUpdate() const;
44 // boost signals time?
52 class PackageArchiveDownloader;
53 friend class PackageArchiveDownloader;
55 Install(Package* aPkg, const SGPath& aPath);
58 void writeRevisionFile();
61 unsigned int m_revision; ///< revision on disk
62 SGPath m_path; ///< installation point on disk
64 PackageArchiveDownloader* m_download;
70 } // of namespace simgear
72 #endif // of SG_PACKAGE_CATALOG_HXX