Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

favorites.h

Go to the documentation of this file.
00001 // favorites.h
00002 //
00003 // Copyright (C) 2001, Chris Laurel <claurel@shatters.net>
00004 //
00005 // This program is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU General Public License
00007 // as published by the Free Software Foundation; either version 2
00008 // of the License, or (at your option) any later version.
00009 
00010 #ifndef _FAVORITES_H_
00011 #define _FAVORITES_H_
00012 
00013 #include <string>
00014 #include <vector>
00015 #include <iostream>
00016 #include <celmath/vecmath.h>
00017 #include <celmath/quaternion.h>
00018 #include <celengine/astro.h>
00019 
00020 
00021 struct FavoritesEntry
00022 {
00023     std::string name;
00024     std::string selectionName;
00025     
00026     UniversalCoord position;
00027     Quatf orientation;
00028     double jd;
00029     bool isFolder;
00030     std::string parentFolder;
00031 
00032     astro::CoordinateSystem coordSys;
00033 };
00034 
00035 typedef std::vector<FavoritesEntry*> FavoritesList;
00036 
00037 FavoritesList* ReadFavoritesList(std::istream&);
00038 void WriteFavoritesList(FavoritesList&, std::ostream&);
00039 
00040 #endif // _FAVORITES_H_

Generated on Sat Jan 14 22:30:30 2006 for Celestia by  doxygen 1.4.1