Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
common.h
Go to the documentation of this file.
1 /***************************************************************************
2 * common.h - description
3 * -------------------
4 * begin : Wed Jun 26 2002
5 * copyright : (C) 2002 by jhunt
6 * email : jhunt@jaja
7 ***************************************************************************/
8 
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17 /* This file is for common (as in shared between vegastrike, vssetup as vsconfig) stuff
18  * that is not import enought to warrant it's own file.
19  */
20 
21 #ifndef _WIN32
22 #include <string>
23 
24 //Returns where the data directory is. Returns the cwd if it can't find the data dir.
25 //Note: When it returns it has already changed dir to where the data directory is
26 std::string getdatadir();
27 
28 #endif
29