Logo Search packages:      
Sourcecode: beryl-core version File versions

syscheck.h

/*
 *
 * Beryl hardware/software detection system
 *
 * Copyright : (C) 2007 by Dennis Kasprzyk
 * E-mail    : onestone@beryl-project.org
 *
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _SYSCHECK_H
#define _SYSCHECH_H

#define MODE_AIGLX  0
#define MODE_XGL    1
#define MODE_NVIDIA 2

#define CHECK_SUCCESS 0
#define CHECK_ERROR   1
#define CHECK_NOTFP   2

int syscheck(char * displayName, int *mode, int *numScreens);

#endif

Generated by  Doxygen 1.6.0   Back to index