Skip to content
Snippets Groups Projects
Commit 42e429c9 authored by Sergey Linev's avatar Sergey Linev
Browse files

[rbrowser] add missing includes to RBrowserItem.hxx

parent d14c96fd
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ protected: ...@@ -64,7 +64,7 @@ protected:
std::string fDescPath; ///<! last scanned directory std::string fDescPath; ///<! last scanned directory
std::vector<RRootFileItem> fDesc; ///<! plain list of current 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 std::shared_ptr<RWebWindow> fWebWindow; ///<! web window to show geometry
......
...@@ -17,19 +17,21 @@ ...@@ -17,19 +17,21 @@
#ifndef ROOT7_RBrowserItem #ifndef ROOT7_RBrowserItem
#define ROOT7_RBrowserItem #define ROOT7_RBrowserItem
#include <string>
#include <vector>
namespace ROOT { namespace ROOT {
namespace Experimental { namespace Experimental {
/** Request send from client to get content of path element */ /** Request send from client to get content of path element */
class RBrowserRequest { class RBrowserRequest {
public: public:
std::string path; ///< requested path std::string path; ///< requested path
int first{0}; ///< first child to request int first{0}; ///< first child to request
int number{0}; ///< number of childs to request, 0 - all childs int number{0}; ///< number of childs to request, 0 - all childs
std::string sort; ///< kind of sorting std::string sort; ///< kind of sorting
}; };
/** Representation of single item in the browser */ /** Representation of single item in the browser */
class RBrowserItem { class RBrowserItem {
protected: protected:
...@@ -51,13 +53,12 @@ public: ...@@ -51,13 +53,12 @@ public:
/** Reply on browser request */ /** Reply on browser request */
class RBrowserReply { class RBrowserReply {
public: public:
std::string path; ///< reply path std::string path; ///< reply path
int nchilds{0}; ///< total number of childs in the node int nchilds{0}; ///< total number of childs in the node
int first{0}; ///< first node in returned list int first{0}; ///< first node in returned list
std::vector<RBrowserItem*> nodes; ///< list of pointers, no ownership! std::vector<RBrowserItem *> nodes; ///< list of pointers, no ownership!
}; };
} // namespace Experimental } // namespace Experimental
} // namespace ROOT } // namespace ROOT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment