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

Comparing Frodo4/Src/main.h (file contents):
Revision 1.6 by cebix, 2004-01-12T15:13:20Z vs.
Revision 1.9 by berlac, 2007-01-28T16:08:37Z

# Line 1 | Line 1
1   /*
2   *  main.h - Main program
3   *
4 < *  Frodo (C) 1994-1997,2002-2004 Christian Bauer
4 > *  Frodo (C) 1994-1997,2002-2005 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 126 | Line 126 | public:
126          void ArgvReceived(int argc, char **argv);
127          void ReadyToRun(void);
128          static Prefs *reload_prefs(void);
129 <
129 >        static char* get_prefs_path() { return prefs_path; };
130   private:
131          void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin);
132          void load_rom_files();
# Line 187 | Line 187 | extern HWND hwnd;
187   // Command line options.
188   extern BOOL full_screen;
189  
190 #if defined(DEBUG)
191
192 inline void Debug(const char *format, ...)
193 {
194        va_list args;
195        va_start(args, format);
196        char tmp[256];
197        vsprintf(tmp, format, args);
198        va_end(args);
199        OutputDebugString(tmp);
200 }
201
202 #else
203
204 inline void Debug(const char *format, ...)
205 {
206 }
207
208 #endif
209
210 #define DebugResult(message, val) \
211        Debug("%s: 0x%x (%d)\n", message, val, HRESULT_CODE(val))
212
190   #endif
191  
192  
# Line 237 | Line 214 | private:
214   extern C64 *TheC64;
215  
216  
217 + /*
218 + *  Functions
219 + */
220 +
221 + // Determine whether path name refers to a directory
222 + extern bool IsDirectory(const char *path);
223 +
224   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines