[Marble-commits] KDE/kdeedu/marble/src/lib

Jens-Michael Hoffmann jensmh at gmx.de
Sun Oct 4 21:56:31 CEST 2009


SVN commit 1031371 by jmhoffmann:

Move enum DownloadUsage from DownloadPolicy.h to global.h to prevent us
having to install DownloadPolicy.h.

 M  +2 -2      DownloadPolicy.h  
 M  +8 -0      global.h  


--- trunk/KDE/kdeedu/marble/src/lib/DownloadPolicy.h #1031370:1031371
@@ -19,11 +19,11 @@
 #include <QtCore/QString>
 #include <QtCore/QStringList>
 
+#include "global.h"
+
 namespace Marble
 {
 
-enum DownloadUsage { DownloadBulk, DownloadBrowse };
-
 class DownloadPolicyKey
 {
     friend bool operator<( DownloadPolicyKey const & lhs, DownloadPolicyKey const & rhs );
--- trunk/KDE/kdeedu/marble/src/lib/global.h #1031370:1031371
@@ -169,6 +169,14 @@
     SouthPole            ///< Only South Pole
 };
 
+/**
+ * @brief This enum is used to describe the type of download
+ */
+enum DownloadUsage {
+    DownloadBulk,       ///< Bulk download, for example "File/Download region"
+    DownloadBrowse      ///< Browsing mode, normal operation of Marble, like a web browser
+};
+
 const int defaultLevelZeroColumns = 2;
 const int defaultLevelZeroRows = 1;
 


More information about the Marble-commits mailing list