Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
browser.cxx
Go to the documentation of this file.
1/// \file
2/// \ingroup tutorial_v7
3///
4/// \macro_code
5///
6/// \date 2019-05-29
7/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
8/// \authors Bertrand Bellenot <Bertrand.Bellenot@cern.ch>, Sergey Linev <S.Linev@gsi.de>
9
10/*************************************************************************
11 * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
12 * All rights reserved. *
13 * *
14 * For the licensing terms see $ROOTSYS/LICENSE. *
15 * For the list of contributors see $ROOTSYS/README/CREDITS. *
16 *************************************************************************/
17
18// macro must be here to let macro work on Windows
19R__LOAD_LIBRARY(libROOTBrowserv7)
20
21#include <ROOT/RBrowser.hxx>
22
23void browser()
24{
25 // create browser
26 auto br = std::make_shared<ROOT::RBrowser>();
27
28 // clear when connection to client closed
29 br->ClearOnClose(br);
30}
31
#define R__LOAD_LIBRARY(LIBRARY)
Definition Rtypes.h:491