From e7df63844f0920d35bc76a9fe70f9bbb59443c2f Mon Sep 17 00:00:00 2001
From: Nicholas Corgan <nick.corgan@ettus.com>
Date: Thu, 7 Jun 2012 12:30:21 -0700
Subject: utils: UHD Image Downloader - downloads firmware/FPGA images
 compatible with the current host code and places them in the images directory

---
 host/include/uhd/utils/images.hpp | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

(limited to 'host/include')

diff --git a/host/include/uhd/utils/images.hpp b/host/include/uhd/utils/images.hpp
index 8b5a1eedd..a0934fb08 100644
--- a/host/include/uhd/utils/images.hpp
+++ b/host/include/uhd/utils/images.hpp
@@ -1,5 +1,5 @@
 //
-// Copyright 2010 Ettus Research LLC
+// Copyright 2010,2012 Ettus Research LLC
 //
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -33,6 +33,21 @@ namespace uhd{
      */
     UHD_API std::string find_image_path(const std::string &image_name);
 
+    /*!
+     * Search for the location of the UHD Images Downloader script.
+     * \return the full system path to uhd_images_downloader.py
+     */
+
+    UHD_API std::string find_images_downloader(void);
+
+    /*!
+     * Return the error string for recommending using the UHD Images Downloader.
+     * String depends on OS.
+     * \return the message suggesting the use of uhd_images_downloader.py
+     */
+
+    UHD_API std::string print_images_error(void);
+
 } //namespace uhd
 
 #endif /* INCLUDED_UHD_UTILS_IMAGES_HPP */
-- 
cgit v1.2.3