OpenCPN Partial API docs
Loading...
Searching...
No Matches
androidSupport.h
1
2/***************************************************************************
3 *
4 * Project: OpenCPN
5 * Purpose: OpenCPN Android support utilities
6 * Author: David Register
7 *
8 ***************************************************************************
9 * Copyright (C) 2015 by David S. Register *
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 * This program is distributed in the hope that it will be useful, *
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
19 * GNU General Public License for more details. *
20 * *
21 * You should have received a copy of the GNU General Public License *
22 * along with this program; if not, write to the *
23 * Free Software Foundation, Inc., *
24 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
25 **************************************************************************/
26
27#ifndef ANDROIDSUPPORT_H
28#define ANDROIDSUPPORT_H
29
30#include "wx/wxprec.h"
31
32#ifndef WX_PRECOMP
33#include "wx/wx.h"
34#endif // precompiled headers
35
36class ArrayOfCDI;
37
38#include <QString>
39
40bool AndroidUnzip(wxString zipFile, wxString destDir, int nStrip,
41 bool bRemoveZip);
42wxString AndroidGetCacheDir();
43bool AndroidSecureCopyFile(wxString in, wxString out);
44void androidShowBusyIcon();
45void androidHideBusyIcon();
46void androidEnableRotation();
47void androidDisableRotation();
48int androidGetSDKVersion();
49
50#endif