1//---------------------------------------------------------------------- 2// This software is part of the OpenBeOS distribution and is covered 3// by the OpenBeOS license. 4// 5// Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net 6//---------------------------------------------------------------------- 7 8/*! \file Shell.h 9*/ 10 11#ifndef _SHELL_H 12#define _SHELL_H 13 14#include <string> 15#include <SupportDefs.h> 16 17#include "ProgressListener.h" 18 19class Shell { 20public: 21 Shell(); 22 status_t Run(int argc, char *argv[]); 23 24private: 25 status_t _ProcessArguments(int argc, char *argv[]); 26 void _PrintHelp(); 27 void _PrintTitle(); 28 29 VerbosityLevel fVerbosityLevel; 30 uint32 fBlockSize; 31 bool fDoUdf; 32 bool fDoIso; 33 std::string fSourceDirectory; 34 std::string fOutputFile; 35 std::string fUdfVolumeName; 36 uint16 fUdfRevision; 37 bool fTruncate; 38}; 39 40 41#endif // _SHELL_H 42