1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
|
/**
* @file mega.h
* @brief Main header file for inclusion by client software.
*
* (c) 2013-2014 by Mega Limited, Auckland, New Zealand
*
* This file is part of the MEGA SDK - Client Access Engine.
*
* Applications using the MEGA API must present a valid application key
* and comply with the the rules set forth in the Terms of Service.
*
* The MEGA SDK is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright Simplified (2-clause) BSD License.
*
* You should have received a copy of the license along with this
* program.
*/
#ifndef MEGA_H
#define MEGA_H 1
#ifndef MEGA_SDK
#define MEGA_SDK
#endif
// version
#include "mega/version.h"
// project types
#include "mega/types.h"
// project includes
#include "mega/account.h"
#include "mega/attrmap.h"
#include "mega/backofftimer.h"
#include "mega/base64.h"
#include "mega/command.h"
#include "mega/console.h"
#include "mega/db.h"
#include "mega/file.h"
#include "mega/fileattributefetch.h"
#include "mega/filefingerprint.h"
#include "mega/filesystem.h"
#include "mega/http.h"
#include "mega/json.h"
#include "mega/logging.h"
#include "mega/megaapp.h"
#include "mega/megaclient.h"
#include "mega/node.h"
#include "mega/pendingcontactrequest.h"
#include "mega/proxy.h"
#include "mega/pubkeyaction.h"
#include "mega/request.h"
#include "mega/scoped_helpers.h"
#include "mega/serialize64.h"
#include "mega/share.h"
#include "mega/sharenodekeys.h"
#include "mega/sync.h"
#include "mega/transfer.h"
#include "mega/transferslot.h"
#include "mega/treeproc.h"
#include "mega/user.h"
#include "mega/utils.h"
#include "mega/waiter.h"
// target-specific headers
#include "mega/thread/posixthread.h"
#include "mega/thread/cppthread.h"
#ifdef USE_IOS
#include "mega/posix/megawaiter.h"
#include "mega/posix/meganet.h"
#include "mega/osx/megafs.h"
#include "mega/posix/megaconsole.h"
#include "mega/posix/megaconsolewaiter.h"
#else
#include "megawaiter.h"
#include "meganet.h"
#include "megafs.h"
#include "megaconsole.h"
#include "megaconsolewaiter.h"
#endif
#include "mega/db/sqlite.h"
#include "mega/gfx/freeimage.h"
#include "mega/gfx/GfxProcCG.h"
#if defined(REQUIRE_HAVE_FFMPEG) && !defined(HAVE_FFMPEG)
#error compilation with HAVE_FFMPEG is required
#endif
#if defined(REQUIRE_HAVE_LIBUV) && !defined(HAVE_LIBUV)
#error compilation with HAVE_LIBUV is required
#endif
#if defined(REQUIRE_HAVE_LIBRAW) && !defined(HAVE_LIBRAW)
#error compilation with HAVE_LIBRAW is required
#endif
#if defined(REQUIRE_HAVE_PDFIUM) && !defined(HAVE_PDFIUM)
#error compilation with HAVE_PDFIUM is required
#endif
#if defined(REQUIRE_ENABLE_CHAT) && !defined(ENABLE_CHAT)
#error compilation with ENABLE_CHAT is required
#endif
#if defined(REQUIRE_ENABLE_BACKUPS) && !defined(ENABLE_BACKUPS)
#error compilation with ENABLE_BACKUPS is required
#endif
#if defined(REQUIRE_ENABLE_WEBRTC) && !defined(ENABLE_WEBRTC)
#error compilation with ENABLE_WEBRTC is required
#endif
#if defined(REQUIRE_ENABLE_EVT_TLS) && !defined(ENABLE_EVT_TLS)
#error compilation with ENABLE_EVT_TLS is required
#endif
#if defined(REQUIRE_USE_MEDIAINFO) && !defined(USE_MEDIAINFO)
#error compilation with USE_MEDIAINFO is required
#endif
#endif
|