Changeset View
Changeset View
Standalone View
Standalone View
src/acbf/AcbfDocument.h
Context not available. | |||||
41 | * | 41 | * | ||
---|---|---|---|---|---|
42 | * Of these, only Body and Metadata are necessary for a proper ACBF file. | 42 | * Of these, only Body and Metadata are necessary for a proper ACBF file. | ||
43 | * | 43 | * | ||
44 | * TODO: Support references and stylesheets. | | |||
45 | */ | 44 | */ | ||
46 | namespace AdvancedComicBookFormat | 45 | namespace AdvancedComicBookFormat | ||
47 | { | 46 | { | ||
48 | class Metadata; | 47 | class Metadata; | ||
49 | class Body; | 48 | class Body; | ||
50 | // class References; | 49 | class References; | ||
51 | class Data; | 50 | class Data; | ||
52 | // class Stylesheet; | 51 | class StyleSheet; | ||
53 | class ACBF_EXPORT Document : public QObject | 52 | class ACBF_EXPORT Document : public QObject | ||
54 | { | 53 | { | ||
55 | Q_OBJECT | 54 | Q_OBJECT | ||
Context not available. | |||||
81 | * @returns the Body object. | 80 | * @returns the Body object. | ||
82 | */ | 81 | */ | ||
83 | Body* body() const; | 82 | Body* body() const; | ||
84 | // References* references(); | 83 | | ||
84 | /** | ||||
85 | * @brief The reference section. | ||||
86 | * | ||||
87 | * @return a References object with the references. | ||||
88 | */ | ||||
89 | References* references() const; | ||||
85 | /** | 90 | /** | ||
86 | * @returns the Data object. | 91 | * @returns the Data object. | ||
87 | */ | 92 | */ | ||
88 | Data* data() const; | 93 | Data* data() const; | ||
89 | // Stylesheet* stylesheet(); | 94 | | ||
95 | /** | ||||
96 | * @brief The style section, which contains a css stylesheet. | ||||
97 | * | ||||
98 | * @return A StyleSheet object with the css. | ||||
99 | */ | ||||
100 | StyleSheet* styleSheet() const; | ||||
90 | private: | 101 | private: | ||
91 | class Private; | 102 | class Private; | ||
92 | std::unique_ptr<Private> d; | 103 | std::unique_ptr<Private> d; | ||
Context not available. |