-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transform component's init and shutdown to signals
- Loading branch information
1 parent
edd2254
commit 51fea62
Showing
8 changed files
with
105 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "mixxxcontroller.h" | ||
|
||
namespace mixxx { | ||
namespace qml { | ||
|
||
} // namespace qml | ||
} // namespace mixxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef MIXXX_MIXXXCOMPONENTLIFECYCLE_H | ||
#define MIXXX_MIXXXCOMPONENTLIFECYCLE_H | ||
|
||
#include <QObject> | ||
|
||
namespace mixxx { | ||
namespace qml { | ||
|
||
class MixxxComponentLifecycle { | ||
public: | ||
virtual ~MixxxComponentLifecycle() { | ||
} | ||
signals: | ||
virtual void init() = 0; | ||
virtual void shutdown() = 0; | ||
}; | ||
|
||
} // namespace qml | ||
} // namespace mixxx | ||
|
||
#define MixxxComponentLifecycleIID "MixxxComponentLifecycle" | ||
Q_DECLARE_INTERFACE(mixxx::qml::MixxxComponentLifecycle, MixxxComponentLifecycleIID) | ||
|
||
#endif // MIXXX_MIXXXCOMPONENTLIFECYCLE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters