Changeset View
Changeset View
Standalone View
Standalone View
src/core.h
Show All 15 Lines | |||||
16 | #include <QUrl> | 16 | #include <QUrl> | ||
17 | #include "kdenlivecore_export.h" | 17 | #include "kdenlivecore_export.h" | ||
18 | 18 | | |||
19 | class MainWindow; | 19 | class MainWindow; | ||
20 | class ProjectManager; | 20 | class ProjectManager; | ||
21 | class MonitorManager; | 21 | class MonitorManager; | ||
22 | class BinController; | 22 | class BinController; | ||
23 | class Bin; | 23 | class Bin; | ||
24 | class Audiomixer | ||||
25 | { | ||||
26 | public: | ||||
mardelle: You should not define any method here.
Just leave the class mention, to make the compiler… | |||||
27 | Audiomixer;() {} | ||||
28 | }; | ||||
24 | class LibraryWidget; | 29 | class LibraryWidget; | ||
25 | class ProducerQueue; | 30 | class ProducerQueue; | ||
26 | class MltConnection; | 31 | class MltConnection; | ||
27 | 32 | | |||
28 | namespace Mlt | 33 | namespace Mlt | ||
29 | { | 34 | { | ||
30 | class Repository; | 35 | class Repository; | ||
31 | } | 36 | } | ||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 53 | public: | |||
78 | BinController *binController(); | 83 | BinController *binController(); | ||
79 | /** @brief Returns a pointer to the project bin. */ | 84 | /** @brief Returns a pointer to the project bin. */ | ||
80 | Bin *bin(); | 85 | Bin *bin(); | ||
81 | /** @brief Returns a pointer to the producer queue. */ | 86 | /** @brief Returns a pointer to the producer queue. */ | ||
82 | ProducerQueue *producerQueue(); | 87 | ProducerQueue *producerQueue(); | ||
83 | /** @brief Returns a pointer to the library. */ | 88 | /** @brief Returns a pointer to the library. */ | ||
84 | LibraryWidget *library(); | 89 | LibraryWidget *library(); | ||
85 | 90 | | |||
91 | Audiomixer *audiomixer(); | ||||
92 | | ||||
86 | /** @brief Returns a pointer to MLT's repository */ | 93 | /** @brief Returns a pointer to MLT's repository */ | ||
87 | std::unique_ptr<Mlt::Repository>& getMltRepository(); | 94 | std::unique_ptr<Mlt::Repository>& getMltRepository(); | ||
88 | 95 | | |||
89 | private: | 96 | private: | ||
90 | explicit Core(); | 97 | explicit Core(); | ||
91 | static Core *m_self; | 98 | static Core *m_self; | ||
92 | 99 | | |||
93 | /** @brief Builds all necessary parts. */ | 100 | /** @brief Builds all necessary parts. */ | ||
94 | void initialize(const QString &mltPath); | 101 | void initialize(const QString &mltPath); | ||
95 | 102 | | |||
96 | /** @brief Makes sure Qt's locale and system locale settings match. */ | 103 | /** @brief Makes sure Qt's locale and system locale settings match. */ | ||
97 | void initLocale(); | 104 | void initLocale(); | ||
98 | 105 | | |||
99 | MainWindow *m_mainWindow; | 106 | MainWindow *m_mainWindow; | ||
100 | ProjectManager *m_projectManager; | 107 | ProjectManager *m_projectManager; | ||
101 | MonitorManager *m_monitorManager; | 108 | MonitorManager *m_monitorManager; | ||
102 | BinController *m_binController; | 109 | BinController *m_binController; | ||
103 | ProducerQueue *m_producerQueue; | 110 | ProducerQueue *m_producerQueue; | ||
104 | Bin *m_binWidget; | 111 | Bin *m_binWidget; | ||
112 | Audiomixer *m_mixerWidget; | ||||
105 | LibraryWidget *m_library; | 113 | LibraryWidget *m_library; | ||
106 | 114 | | |||
107 | std::unique_ptr<MltConnection> m_mltConnection; | 115 | std::unique_ptr<MltConnection> m_mltConnection; | ||
108 | 116 | | |||
109 | QString m_profile; | 117 | QString m_profile; | ||
110 | 118 | | |||
111 | signals: | 119 | signals: | ||
112 | void coreIsReady(); | 120 | void coreIsReady(); | ||
113 | void updateLibraryPath(); | 121 | void updateLibraryPath(); | ||
114 | }; | 122 | }; | ||
115 | 123 | | |||
116 | #endif | 124 | #endif |
You should not define any method here.
Just leave the class mention, to make the compiler understand the class:
class Audiomixer;