FlightGear
next
addon_fwd.hxx
Go to the documentation of this file.
1
// -*- coding: utf-8 -*-
2
//
3
// addon_fwd.hxx --- Forward declarations for the FlightGear add-on
4
// infrastructure
5
// Copyright (C) 2017 Florent Rougon
6
//
7
// This program is free software; you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License as published by
9
// the Free Software Foundation; either version 2 of the License, or
10
// (at your option) any later version.
11
//
12
// This program is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
// GNU General Public License for more details.
16
//
17
// You should have received a copy of the GNU General Public License along
18
// with this program; if not, write to the Free Software Foundation, Inc.,
19
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
21
#ifndef FG_ADDON_FWD_HXX
22
#define FG_ADDON_FWD_HXX
23
24
#include <simgear/structure/SGSharedPtr.hxx>
25
26
namespace
flightgear
27
{
28
29
namespace
addons
30
{
31
32
class
Addon
;
33
class
AddonManager
;
34
class
AddonVersion
;
35
class
AddonVersionSuffix
;
36
class
ResourceProvider
;
37
38
enum class
UrlType
;
39
class
QualifiedUrl
;
40
41
enum class
ContactType
;
42
class
Contact
;
43
class
Author
;
44
class
Maintainer
;
45
46
using
AddonRef
= SGSharedPtr<Addon>;
47
using
AddonVersionRef
= SGSharedPtr<AddonVersion>;
48
using
ContactRef
= SGSharedPtr<Contact>;
49
using
AuthorRef
= SGSharedPtr<Author>;
50
using
MaintainerRef
= SGSharedPtr<Maintainer>;
51
52
namespace
errors
53
{
54
55
class
error
;
56
class
error_loading_config_file
;
57
class
no_metadata_file_found
;
58
class
error_loading_metadata_file
;
59
class
error_loading_menubar_items_file
;
60
class
duplicate_registration_attempt
;
61
class
fg_version_too_old
;
62
class
fg_version_too_recent
;
63
class
invalid_resource_path
;
64
class
unable_to_create_addon_storage_dir
;
65
66
}
// of namespace errors
67
68
}
// of namespace addons
69
70
}
// of namespace flightgear
71
72
#endif
// of FG_ADDON_FWD_HXX
flightgear::addons::AddonManager
Definition
AddonManager.hxx:42
flightgear::addons::AddonVersionSuffix
Definition
AddonVersion.hxx:53
flightgear::addons::AddonVersion
Definition
AddonVersion.hxx:140
flightgear::addons::Addon
Definition
Addon.hxx:79
flightgear::addons::Author
Definition
contacts.hxx:76
flightgear::addons::Contact
Definition
contacts.hxx:48
flightgear::addons::Maintainer
Definition
contacts.hxx:84
flightgear::addons::QualifiedUrl
Definition
Addon.hxx:56
flightgear::addons::ResourceProvider
Definition
AddonResourceProvider.hxx:35
flightgear::addons::errors::duplicate_registration_attempt
Definition
exceptions.hxx:57
flightgear::addons::errors::error_loading_config_file
Definition
exceptions.hxx:45
flightgear::addons::errors::error_loading_menubar_items_file
Definition
exceptions.hxx:54
flightgear::addons::errors::error_loading_metadata_file
Definition
exceptions.hxx:51
flightgear::addons::errors::error
Definition
exceptions.hxx:37
flightgear::addons::errors::fg_version_too_old
Definition
exceptions.hxx:60
flightgear::addons::errors::fg_version_too_recent
Definition
exceptions.hxx:63
flightgear::addons::errors::invalid_resource_path
Definition
exceptions.hxx:66
flightgear::addons::errors::no_metadata_file_found
Definition
exceptions.hxx:48
flightgear::addons::errors::unable_to_create_addon_storage_dir
Definition
exceptions.hxx:69
flightgear::addons::errors
Definition
addon_fwd.hxx:53
flightgear::addons
Definition
Addon.cxx:56
flightgear::addons::AuthorRef
SGSharedPtr< Author > AuthorRef
Definition
addon_fwd.hxx:49
flightgear::addons::AddonRef
SGSharedPtr< Addon > AddonRef
Definition
addon_fwd.hxx:46
flightgear::addons::ContactType
ContactType
Definition
contacts.hxx:40
flightgear::addons::ContactRef
SGSharedPtr< Contact > ContactRef
Definition
addon_fwd.hxx:48
flightgear::addons::UrlType
UrlType
Definition
Addon.hxx:45
flightgear::addons::MaintainerRef
SGSharedPtr< Maintainer > MaintainerRef
Definition
addon_fwd.hxx:50
flightgear::addons::AddonVersionRef
SGSharedPtr< AddonVersion > AddonVersionRef
Definition
addon_fwd.hxx:47
flightgear
FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information ...
Definition
Addon.cxx:53
src
Add-ons
addon_fwd.hxx
Generated on Tue Jun 3 2025 12:58:36 for FlightGear by
1.13.2