Project.h
Go to the documentation of this file.
1
/* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2
3
This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5
TerraLib is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License,
8
or (at your option) any later version.
9
10
TerraLib is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with TerraLib. See COPYING. If not, write to
17
TerraLib Team at <terralib-team@terralib.org>.
18
*/
19
20
/*!
21
\file Project.h
22
23
\brief This class models the concept of a project for the TerraView.
24
*/
25
26
#ifndef __TERRALIB_TERRAVIEW_INTERNAL_PROJECT_H
27
#define __TERRALIB_TERRAVIEW_INTERNAL_PROJECT_H
28
29
// Terralib
30
#include "../terralib/maptools/AbstractLayer.h"
31
#include "
Config.h
"
32
33
// Qt
34
#include <QString>
35
36
// STL
37
#include <list>
38
39
struct
ProjectMetadata
40
{
41
QString
m_title
;
//!< The title of the project.
42
QString
m_author
;
//!< The author of the project.
43
bool
m_changed
;
//!< Flag indicating that the project needs to be saved.
44
QString
m_fileName
;
//!< The project file.
45
};
46
47
void
SaveProject
(
const
ProjectMetadata
& proj,
const
std::list<te::map::AbstractLayerPtr>& layers);
48
49
void
LoadProject
(
const
QString& projFile,
ProjectMetadata
& proj, std::list<te::map::AbstractLayerPtr>& layers);
50
51
#endif // __TERRALIB_QT_AF_INTERNAL_PROJECT_H
ProjectMetadata
Definition:
Project.h:40
LoadProject
void LoadProject(const QString &projFile, ProjectMetadata &proj, std::list< te::map::AbstractLayerPtr > &layers)
ProjectMetadata::m_changed
bool m_changed
Flag indicating that the project needs to be saved.
Definition:
Project.h:43
ProjectMetadata::m_fileName
QString m_fileName
The project file.
Definition:
Project.h:44
ProjectMetadata::m_author
QString m_author
The author of the project.
Definition:
Project.h:42
SaveProject
void SaveProject(const ProjectMetadata &proj, const std::list< te::map::AbstractLayerPtr > &layers)
ProjectMetadata::m_title
QString m_title
The title of the project.
Definition:
Project.h:41
Config.h
Proxy configuration file for TerraView (see terraview_config.h).
git_release
src
terraview
Project.h
Generated on Wed Feb 2 2022 10:38:00 for TerraLib by
1.8.20