2 Copyright 2008 Free Software Foundation, Inc.
3 This file is part of GNU Radio
5 GNU Radio Companion is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
10 GNU Radio Companion 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22 ##The current version of this code
25 ##Location of external data files.
26 DATA_DIR = '@datadir@'
28 ##DTD validator for saved flow graphs.
29 FLOW_GRAPH_DTD = os.path.join(DATA_DIR, 'flow_graph.dtd')
31 ##The default file extension for flow graphs.
32 FLOW_GRAPH_FILE_EXTENSION = '.grc'
34 ##The default file extension for saving flow graph snap shots.
35 IMAGE_FILE_EXTENSION = '.png'
37 ##The default path for the open/save dialogs.
38 DEFAULT_FILE_PATH = os.getcwd()
40 ##The default icon for the gtk windows.
41 PY_GTK_ICON = os.path.join(DATA_DIR, 'grc-icon-256.png')
43 ##The users home directory.
44 HOME_DIR = os.path.expanduser('~')