-// License GPLv2 or later
-// COde by atmo
-//
-#error your license text is wrong and copyright is missing
+/*****************************************************************************
+ * registry.cpp: Windows Registry Manipulation
+ ****************************************************************************
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id: input_slider.cpp 24525 2008-01-23 21:50:58Z courmisch $
+ *
+ * Authors: Andre Weber <WeberAndre # gmx - de>
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
-// License GPLv2 or later
-// Code from ATMO
-
+/*****************************************************************************
+ * registry.hpp: Windows Registry Manipulation
+ ****************************************************************************
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id: input_slider.cpp 24525 2008-01-23 21:50:58Z courmisch $
+ *
+ * Authors: Andre Weber <WeberAndre # gmx - de>
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
#ifndef QVLC_REGISTRY_H
#define QVLC_REGISTRY_H
char * ReadRegistryString(char *path, char *valueName, char *default_value);
double ReadRegistryDouble(char *path, char *valueName, double default_value);
- int RegistryKeyExists(char *path);
- int RegistryValueExists(char *path, char *valueName);
+ bool RegistryKeyExists(char *path);
+ bool RegistryValueExists(char *path, char *valueName);
};
#endif