From 81bfec336cec9cbc899ac1291615c82442ea6383 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 21 Sep 2015 14:55:52 -0500 Subject: [PATCH] Fix missing include for uint8_t on Linux --- simgear/package/Delegate.hxx | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/simgear/package/Delegate.hxx b/simgear/package/Delegate.hxx index 61f28564..16474c46 100644 --- a/simgear/package/Delegate.hxx +++ b/simgear/package/Delegate.hxx @@ -18,20 +18,21 @@ #ifndef SG_PACKAGE_DELEGATE_HXX #define SG_PACKAGE_DELEGATE_HXX +#include #include namespace simgear { - + namespace pkg { - + class Install; class Catalog; typedef SGSharedPtr CatalogRef; typedef SGSharedPtr InstallRef; - + /** * package delegate is the mechanism to discover progress / completion / * errors in packaging steps asynchronously. @@ -51,26 +52,26 @@ public: STATUS_REFRESHED, USER_CANCELLED } StatusCode; - - + + virtual ~Delegate() { } - - + + /** * emitted when a catalog refesh completes, either success or failure * If catalog is null, this means /all/ catalogs have been refreshed */ virtual void catalogRefreshed(CatalogRef, StatusCode aReason) = 0; - + virtual void startInstall(InstallRef aInstall) = 0; virtual void installProgress(InstallRef aInstall, unsigned int aBytes, unsigned int aTotal) = 0; virtual void finishInstall(InstallRef aInstall, StatusCode aReason) = 0; - + virtual void dataForThumbnail(const std::string& aThumbnailUrl, size_t lenth, const uint8_t* bytes) {} -}; - +}; + } // of namespace pkg } // of namespace simgear