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
21
pglab/plugin_support/MenuPath.h
Normal file
21
pglab/plugin_support/MenuPath.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef MENUPATH_H
|
||||
#define MENUPATH_H
|
||||
|
||||
#include <QString>
|
||||
#include <boost/container/small_vector.hpp>
|
||||
|
||||
|
||||
class MenuPath {
|
||||
public:
|
||||
MenuPath();
|
||||
MenuPath(QString menu_path);
|
||||
|
||||
private:
|
||||
QString m_menuPath;
|
||||
/// Contains the elements of the path, in general
|
||||
/// more then 3 levels is a bad idea but small_vector can grow when required.
|
||||
// boost::container::small_vector<int, 3> m_menuItemSeperators;
|
||||
};
|
||||
|
||||
|
||||
#endif // MENUPATH_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue