This should allow concurrency in the plugins to be independent from their container. Contains also some work on the system for registering plugins.
21 lines
426 B
C++
21 lines
426 B
C++
#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
|