From 42e429c9a5803bb3fc865ec9d46705d7a09d7094 Mon Sep 17 00:00:00 2001 From: Sergey Linev <S.Linev@gsi.de> Date: Thu, 4 Jul 2019 17:26:42 +0200 Subject: [PATCH] [rbrowser] add missing includes to RBrowserItem.hxx --- gui/browserv7/inc/ROOT/RBrowser.hxx | 2 +- gui/browserv7/inc/ROOT/RBrowserItem.hxx | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/gui/browserv7/inc/ROOT/RBrowser.hxx b/gui/browserv7/inc/ROOT/RBrowser.hxx index 71f12686ea6..9c75d5f6014 100644 --- a/gui/browserv7/inc/ROOT/RBrowser.hxx +++ b/gui/browserv7/inc/ROOT/RBrowser.hxx @@ -64,7 +64,7 @@ protected: std::string fDescPath; ///<! last scanned directory std::vector<RRootFileItem> fDesc; ///<! plain list of current directory - std::vector<RRootFileItem*> fSorted; ///<! current sorted list (no ownership) + std::vector<RRootFileItem *> fSorted; ///<! current sorted list (no ownership) std::shared_ptr<RWebWindow> fWebWindow; ///<! web window to show geometry diff --git a/gui/browserv7/inc/ROOT/RBrowserItem.hxx b/gui/browserv7/inc/ROOT/RBrowserItem.hxx index b21bc87b4bf..617202b9cbb 100644 --- a/gui/browserv7/inc/ROOT/RBrowserItem.hxx +++ b/gui/browserv7/inc/ROOT/RBrowserItem.hxx @@ -17,19 +17,21 @@ #ifndef ROOT7_RBrowserItem #define ROOT7_RBrowserItem +#include <string> +#include <vector> + namespace ROOT { namespace Experimental { /** Request send from client to get content of path element */ class RBrowserRequest { public: - std::string path; ///< requested path - int first{0}; ///< first child to request - int number{0}; ///< number of childs to request, 0 - all childs - std::string sort; ///< kind of sorting + std::string path; ///< requested path + int first{0}; ///< first child to request + int number{0}; ///< number of childs to request, 0 - all childs + std::string sort; ///< kind of sorting }; - /** Representation of single item in the browser */ class RBrowserItem { protected: @@ -51,13 +53,12 @@ public: /** Reply on browser request */ class RBrowserReply { public: - std::string path; ///< reply path - int nchilds{0}; ///< total number of childs in the node - int first{0}; ///< first node in returned list - std::vector<RBrowserItem*> nodes; ///< list of pointers, no ownership! + std::string path; ///< reply path + int nchilds{0}; ///< total number of childs in the node + int first{0}; ///< first node in returned list + std::vector<RBrowserItem *> nodes; ///< list of pointers, no ownership! }; - } // namespace Experimental } // namespace ROOT -- GitLab