Crossfire Server, Trunk
CREReportDefinitionManager.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2022 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #ifndef CRE_REPORT_DEFINITION_MANAGER_H
14 #define CRE_REPORT_DEFINITION_MANAGER_H
15 
17 
18 #include <QObject>
19 #include <QMetaType>
20 
21 class CREReportDefinitionManager : public QObject
22 {
23  Q_OBJECT
24 
25  public:
29 
30  void copy(const CREReportDefinitionManager& other);
31 
32  QList<CREReportDefinition*>& reports();
33  const QList<CREReportDefinition*>& reports() const;
34 
35  protected:
36  QList<CREReportDefinition*> myReports;
37 };
38 
40 
41 QDataStream &operator<<(QDataStream &out, const CREReportDefinitionManager &manager);
42 QDataStream &operator>>(QDataStream &in, CREReportDefinitionManager &manager);
43 
44 #endif // CRE_REPORT_DEFINITION_MANAGER_H
CREReportDefinitionManager
Definition: CREReportDefinitionManager.h:21
operator<<
QDataStream & operator<<(QDataStream &out, const CREReportDefinitionManager &manager)
Definition: CREReportDefinitionManager.cpp:52
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(CREReportDefinitionManager)
CREReportDefinition
Definition: CREReportDefinition.h:19
CREReportDefinitionManager::reports
QList< CREReportDefinition * > & reports()
Definition: CREReportDefinitionManager.cpp:42
CREReportDefinitionManager::myReports
QList< CREReportDefinition * > myReports
Definition: CREReportDefinitionManager.h:36
make_face_from_files.out
out
Definition: make_face_from_files.py:75
operator>>
QDataStream & operator>>(QDataStream &in, CREReportDefinitionManager &manager)
Definition: CREReportDefinitionManager.cpp:60
CREReportDefinitionManager::CREReportDefinitionManager
CREReportDefinitionManager()
Definition: CREReportDefinitionManager.cpp:17
manager
static AssetsManager * manager
Definition: assets.cpp:62
CREReportDefinitionManager::copy
void copy(const CREReportDefinitionManager &other)
Definition: CREReportDefinitionManager.cpp:31
CREReportDefinitionManager::~CREReportDefinitionManager
virtual ~CREReportDefinitionManager()
Definition: CREReportDefinitionManager.cpp:26