~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/utils/process.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
#include "localconsts.h"
30
30
 
31
 
#include "utils/stringutils.h"
32
 
 
33
31
#include "debug.h"
34
32
 
35
33
const int timeOut = 10;
36
34
 
37
35
#ifdef WIN32
38
36
 
 
37
#include "utils/stringutils.h"
39
38
#include <windows.h>
40
39
 
41
40
int execFileWait(const std::string &pathName, const std::string &name A_UNUSED,
238
237
        nullptr, nullptr, SW_SHOWNORMAL)) > 32;
239
238
}
240
239
#elif defined ANDROID
 
240
#include "utils/stringutils.h"
 
241
#ifndef USE_SDL2
241
242
#include <SDL_screenkeyboard.h>
 
243
#endif
242
244
bool openBrowser(std::string url)
243
245
{
 
246
#ifdef USE_SDL2
 
247
    // +++ need add support
 
248
#else
244
249
    SDL_ANDROID_OpenBrowser(replaceAll(url, " ", "").c_str());
 
250
#endif
245
251
    return true;
246
252
}
247
253
#elif defined __APPLE__