Warning, /education/marble/src/bindings/python/sip/MarbleGlobal.sip is written in an unsupported language. File is not indexed.

0001 //
0002 // Copyright 2008 Simon Edwards <simon@simonzone.com>
0003 // 
0004 // This library is free software; you can redistribute it and/or
0005 // modify it under the terms of the GNU Lesser General Public
0006 // License as published by the Free Software Foundation; either 
0007 // version 2.1 of the License, or (at your option) any later version.
0008 // 
0009 // This library is distributed in the hope that it will be useful,
0010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0012 // Lesser General Public License for more details.
0013 // 
0014 // You should have received a copy of the GNU Lesser General Public 
0015 // License along with this library.  If not, see <http://www.gnu.org/licenses/>.
0016 //
0017 
0018 %ModuleHeaderCode
0019 #include <MarbleGlobal.h>
0020 %End
0021 
0022 
0023 namespace Marble
0024 {
0025 
0026 enum TessellationFlag
0027 {
0028     NoTessellation,
0029     Tessellate,
0030     RespectLatitudeCircle,
0031     FollowGround,
0032     RotationIndicatesFill,
0033     SkipLatLonNormalization
0034 };
0035 
0036 typedef QFlags<Marble::TessellationFlag> TessellationFlags;
0037 
0038 
0039 enum Projection
0040 {
0041     Spherical,
0042     Equirectangular,
0043     Mercator
0044 };
0045 
0046 
0047 
0048 
0049 enum Dimension
0050 {
0051     Latitude,
0052     Longitude
0053 };
0054 
0055 typedef QFlags<Marble::Dimension> Dimensions;
0056 
0057 
0058 enum AngleUnit
0059 {
0060     DMSDegree,
0061     DecimalDegree,
0062     UTM,
0063     MGRS
0064 };
0065 
0066 
0067 enum ViewContext
0068 {
0069     Still,
0070     Animation
0071 };
0072 
0073 
0074 enum MapQuality
0075 {
0076     OutlineQuality,
0077     LowQuality,
0078     NormalQuality,
0079     HighQuality,
0080     PrintQuality
0081 };
0082 
0083 
0084 enum LabelPositionFlag
0085 {
0086     NoLabel,
0087     LineStart,
0088     LineCenter,
0089     LineEnd,
0090     IgnoreXMargin,
0091     IgnoreYMargin
0092 };
0093 
0094 typedef QFlags<Marble::LabelPositionFlag> LabelPositionFlags;
0095 
0096 
0097 enum LabelLocalization
0098 {
0099     CustomAndNative,
0100     Custom,
0101     Native
0102 };
0103 
0104 
0105 enum DragLocation
0106 {
0107     KeepAxisVertically,
0108     FollowMousePointer
0109 };
0110 
0111 
0112 enum OnStartup
0113 {
0114     ShowHomeLocation,
0115     LastLocationVisited
0116 };
0117 
0118 
0119 enum AltitudeMode
0120 {
0121     ClampToGround,
0122     RelativeToGround,
0123     Absolute
0124 };
0125 
0126 
0127 enum Pole
0128 {
0129     AnyPole,
0130     NorthPole,
0131     SouthPole
0132 };
0133 
0134 
0135 class MarbleGlobal
0136 {
0137 %TypeHeaderCode
0138 #include <MarbleGlobal.h>
0139 %End
0140 
0141 public:
0142     static Marble::MarbleGlobal*  getInstance ();
0143 
0144 private:
0145                             MarbleGlobal ();
0146 public:
0147     ~MarbleGlobal ();
0148 //ig    MarbleLocale*           locale () const;
0149     enum Profile
0150     {
0151         Default,
0152         SmallScreen,
0153         HighResolution
0154     };
0155     typedef QFlags<Marble::MarbleGlobal::Profile> Profiles;
0156     Marble::MarbleGlobal::Profiles  profiles () const;
0157     void                    setProfiles (Marble::MarbleGlobal::Profiles profiles);
0158     static Marble::MarbleGlobal::Profiles  detectProfiles ();
0159 };
0160 // MarbleGlobal
0161 
0162 enum ProxyType
0163 {
0164     HttpProxy,
0165     Socks5Proxy
0166 };
0167 enum DownloadUsage
0168 {
0169     DownloadBulk,
0170     DownloadBrowse
0171 };
0172 enum FlyToMode
0173 {
0174     Automatic,
0175     Instant,
0176     Linear,
0177     Jump
0178 };
0179 enum SearchMode
0180 {
0181     GlobalSearch,
0182     AreaSearch
0183 };
0184 };
0185 // Marble
0186 
0187