VAPOR3 3.9.4
GetAppPath.h
Go to the documentation of this file.
1//
2// $Id$
3//
4
5#ifndef INCLUDE_DEPRECATED_GET_APP_PATH
6 #error GetAppPath.h is deprecated. Please use ResourcePath.h
7#endif
8
9#ifndef _GetAppPath_h_
10 #define _GetAppPath_h_
11 #include <vapor/MyBase.h>
12
13namespace Wasp {
14
15COMMON_API std::string GetAppPath(const string &app, const string &name, const vector<string> &paths,
16 #ifdef _WINDOWS
17 // Windows default is backwards slash for separator
18 bool forwardSeparator = false
19 #else
20 bool forwardSeparator = true
21 #endif
22);
23
24}; // namespace Wasp
25
26#endif
#define COMMON_API
Definition: common.h:72
Definition: CFuncs.h:31
COMMON_API std::string GetAppPath(const string &app, const string &name, const vector< string > &paths, bool forwardSeparator=true)