1/* Copyright (C) 2021-2024 Free Software Foundation, Inc. 2 Contributed by Oracle. 3 4 This file is part of GNU Binutils. 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 3, or (at your option) 9 any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, 51 Franklin Street - Fifth Floor, Boston, 19 MA 02110-1301, USA. */ 20 21/* 22 * The DbeApplication class is the base class for all C++ executables 23 * that read Experiments 24 * 25 * It is derived from the Application class, and differs from it 26 * only in that it instantiates a DbeSession (q.v.) to manage 27 * the reading and processing of Experiments 28 */ 29 30#ifndef _DBEAPPLICATION_H 31#define _DBEAPPLICATION_H 32 33#include "Application.h" 34 35template <class ITEM> class Vector; 36 37class DbeApplication : public Application 38{ 39public: 40 DbeApplication (int argc, char *argv[], char *_run_dir = NULL); 41 ~DbeApplication (); 42 Vector<char*> *initApplication (char *fdhome, char *licpath, ProgressFunc func); 43 44 bool rdtMode; 45 bool ipcMode; 46}; 47 48extern DbeApplication *theDbeApplication; 49 50#endif /* _DBEAPPLICATION_H */ 51