/usr/include/root/TSystemFile.h is in libroot-core-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | // @(#)root/base:$Id$
// Author: Rene Brun 26/06/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TSystemFile
#define ROOT_TSystemFile
//////////////////////////////////////////////////////////////////////////
// //
// TSystemFile //
// //
// Describes an Operating System file for the browser. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class TBrowser;
class TSystemFile : public TNamed {
private:
TString fIconName; // icon name
public:
TSystemFile();
TSystemFile(const char *filename, const char *dirname);
virtual ~TSystemFile();
virtual void Browse(TBrowser *b);
virtual void Rename(const char *name); // *MENU*
virtual void Delete(); // *MENU*
virtual void Copy(const char *to); // *MENU*
virtual void Move(const char *to); // *MENU*
virtual void Edit(); // *MENU*
virtual Bool_t IsDirectory(const char *dir = 0) const;
virtual void SetIconName(const char *name) { fIconName = name; }
const char *GetIconName() const { return fIconName.Data(); }
// dummy methods from TObject
virtual void Inspect() const;
virtual void Dump() const;
void DrawClass() const { }
TObject *DrawClone(Option_t *) const { return 0; }
void SetDrawOption(Option_t *) { }
void SetName(const char *name) { TNamed::SetName(name); }
void SetTitle(const char *title) { TNamed::SetTitle(title); }
void Delete(Option_t *) { }
void Copy(TObject & ) const { }
ClassDef(TSystemFile,0) //A system file
};
#endif
|