ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/Prefs.cpp
(Generate patch)

Comparing Frodo4/Src/Prefs.cpp (file contents):
Revision 1.8 by cebix, 2005-06-27T19:55:48Z vs.
Revision 1.9 by cebix, 2010-04-21T22:05:38Z

# Line 1 | Line 1
1   /*
2   *  Prefs.cpp - Global preferences
3   *
4 < *  Frodo (C) 1994-1997,2002-2005 Christian Bauer
4 > *  Frodo Copyright (C) Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 165 | Line 165 | void Prefs::Check(void)
165   *  Load preferences from file
166   */
167  
168 < void Prefs::Load(char *filename)
168 > void Prefs::Load(const char *filename)
169   {
170          FILE *file;
171          char line[256], keyword[256], value[256];
# Line 279 | Line 279 | void Prefs::Load(char *filename)
279   *  true: success, false: error
280   */
281  
282 < bool Prefs::Save(char *filename)
282 > bool Prefs::Save(const char *filename)
283   {
284          FILE *file;
285  
# Line 368 | Line 368 | bool Prefs::Save(char *filename)
368   #include "Prefs_WIN32.h"
369   #endif
370  
371 + #ifdef __unix
372   #ifdef HAVE_GLADE
373   #include "Prefs_glade.h"
374 + #else
375 + #include "Prefs_x.h"
376 + #endif
377   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines