1
// main.hh for bbtools.
3
// Copyright (c) 1998-2003 by John Kennis, jkennis@chello.nl
5
// This program is free software; you can redistribute it and/or modify
6
// it under the terms of the GNU General Public License as published by
7
// the Free Software Foundation; either version 2 of the License, or
8
// (at your option) any later version.
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
15
// You should have received a copy of the GNU General Public License
16
// along with this program; if not, write to the Free Software
17
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25
Configuration(int iargc, char **argv);
28
int argc(void) { return _argc; }
29
char **argv(void) { return _argv; }
31
bool isWithdrawn(void) { return withdrawn; }
32
void setWithdrawn(bool _withdrawn) { withdrawn = _withdrawn; }
34
bool isDecorated(void) { return decorated; }
35
void setDecorated(bool _decorated) { decorated = _decorated; }
37
bool isShaped(void) { return shape; }
38
void setShaped(bool _shape) { shape = _shape; }
40
const std::string &rcFilename(void) { return rc_filename; }
41
void setRcFilename(std::string filename) { rc_filename = filename; }
43
const std::string &appName(void) { return app_name; }
44
void setAppName(std::string name) { app_name = name; }
46
const std::string &displayName(void) { return display_name; }
47
void setDisplayName(std::string name) { display_name = name; }
49
const std::string &geometry(void) { return _geometry; }
50
void setGeometry(std::string geo) { _geometry = geo; }
58
std::string _geometry;
60
std::string rc_filename;
62
std::string display_name;