]> git.mxchange.org Git - simgear.git/blobdiff - simgear/package/Package.hxx
Tweak HTTP code to always sleep.
[simgear.git] / simgear / package / Package.hxx
index d1e798160695c06b6077db0d0e02713700500c8e..19a69434ac392e8d28e6516d1d2e4e47ac64def4 100644 (file)
@@ -1,3 +1,20 @@
+// Copyright (C) 2013  James Turner - zakalawe@mac.com
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Library General Public
+// License as published by the Free Software Foundation; either
+// version 2 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Library General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+//
+
 #ifndef SG_PACKAGE_PACKAGE_HXX
 #define SG_PACKAGE_PACKAGE_HXX
 
@@ -34,6 +51,17 @@ public:
     
     std::string id() const;
     
+    /**
+     * human-readable name - note this is probably not localised,
+     * although this is not ruled out for the future.
+     */
+    std::string name() const;
+    
+    /**
+     * syntactic sugar to get the localised description
+     */
+    std::string description() const;
+    
     /**
      * access the raw property data in the package
      */