Guitar
platform.h
Go to the documentation of this file.
1 #ifndef PLATFORM_H
2 #define PLATFORM_H
3 
4 #include <QApplication>
5 
6 #ifdef Q_OS_WIN
7 #include "win32/Win32Util.h"
8 #else
9 #include "unix/UnixUtil.h"
10 #endif
11 
12 #ifdef Q_OS_MAC
13 extern "C" char **environ;
14 #endif
15 
16 #ifdef Q_OS_WIN
17 #define GIT_COMMAND "git.exe"
18 #define GPG_COMMAND "gpg.exe"
19 #define GPG2_COMMAND "gpg2.exe"
20 #define SSH_COMMAND "ssh.exe"
21 #else
22 #define GIT_COMMAND "git"
23 #define GPG_COMMAND "gpg"
24 #define GPG2_COMMAND "gpg2"
25 #define SSH_COMMAND "ssh"
26 #endif
27 
28 namespace platform {
29 
30 void initNetworking();
31 
32 } // namespace platform
33 
34 
35 #endif // PLATFORM_H
Definition: platform.cpp:4
void initNetworking()
Definition: platform.cpp:6