2
* nvidia-settings: A tool for configuring the NVIDIA X driver on Unix
5
* Copyright (C) 2004 NVIDIA Corporation.
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of Version 2 of the GNU General Public
9
* License as published by the Free Software Foundation.
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See Version 2
14
* of the GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the:
19
* Free Software Foundation, Inc.
20
* 59 Temple Place - Suite 330
21
* Boston, MA 02111-1307, USA
25
#ifndef __CONFIG_FILE_H__
26
#define __CONFIG_FILE_H__
28
#include "query-assign.h"
32
* The ConfigProperties structure contains additional configuration
33
* data to be written to the rc file; these are configuration
34
* properties of the nvidia-settings utilities itself, rather than
35
* properties of the X screen(s) that nvidia-settings is configuring.
38
#define CONFIG_PROPERTIES_TOOLTIPS (1<<0)
39
#define CONFIG_PROPERTIES_DISPLAY_STATUS_BAR (1<<1)
40
#define CONFIG_PROPERTIES_SLIDER_TEXT_ENTRIES (1<<2)
41
#define CONFIG_PROPERTIES_INCLUDE_DISPLAY_NAME_IN_CONFIG_FILE (1<<3)
44
unsigned int booleans;
48
int nv_read_config_file(const char *, const char *,
49
ParsedAttribute *, ConfigProperties *);
51
int nv_write_config_file(const char *, CtrlHandles *,
52
ParsedAttribute *, ConfigProperties *);
54
#endif /* __CONFIG_FILE_H__ */