--- a/src/hierarchyelement.h Mon Aug 31 23:36:08 2015 +0300 +++ b/src/hierarchyelement.h Sat Sep 05 23:03:24 2015 +0300 @@ -1,9 +1,11 @@ #pragma once #include <QObject> +#include "main.h" class MainWindow; class ConfigurationValueBag; class GuiUtilities; +class LDDocument; // // Objects that are to take part in the MainWindow's hierarchy multiple-inherit from this class to get a few useful @@ -14,6 +16,8 @@ public: HierarchyElement (QObject* parent); + const LDObjectList& selectedObjects(); + LDDocument* currentDocument(); GuiUtilities* guiUtilities() const; protected: