Made step to remove ASyncWindow in favour of usage of Future and FutureWatcher.
This should allow concurrency in the plugins to be independent from their container. Contains also some work on the system for registering plugins.
This commit is contained in:
parent
a54a063c13
commit
15bee33076
25 changed files with 327 additions and 52 deletions
19
pglab/plugin_support/ToolbarLocation.h
Normal file
19
pglab/plugin_support/ToolbarLocation.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef TOOLBARLOCATION_H
|
||||
#define TOOLBARLOCATION_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class ToolbarLocation {
|
||||
public:
|
||||
ToolbarLocation();
|
||||
ToolbarLocation(QString toolbar, QString group, int position = -1);
|
||||
|
||||
bool isEmpty() const;
|
||||
private:
|
||||
QString m_toolbar;
|
||||
QString m_group;
|
||||
int m_position = -1;
|
||||
};
|
||||
|
||||
|
||||
#endif // TOOLBARLOCATION_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue