blob: 1d945d6267708f50cf7a4564283509fa06ea973e [file] [log] [blame]
Alexander Afanasyevfa2f6622016-12-25 12:28:00 -08001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (c) 2013-2016, Regents of the University of California.
Alexander Afanasyeva98e69c2013-02-24 15:42:45 -08004 *
Alexander Afanasyevfa2f6622016-12-25 12:28:00 -08005 * This file is part of ChronoShare, a decentralized file sharing application over NDN.
Alexander Afanasyeva98e69c2013-02-24 15:42:45 -08006 *
Alexander Afanasyevfa2f6622016-12-25 12:28:00 -08007 * ChronoShare is free software: you can redistribute it and/or modify it under the terms
8 * of the GNU General Public License as published by the Free Software Foundation, either
9 * version 3 of the License, or (at your option) any later version.
Alexander Afanasyeva98e69c2013-02-24 15:42:45 -080010 *
Alexander Afanasyevfa2f6622016-12-25 12:28:00 -080011 * ChronoShare is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
Alexander Afanasyeva98e69c2013-02-24 15:42:45 -080014 *
Alexander Afanasyevfa2f6622016-12-25 12:28:00 -080015 * You should have received copies of the GNU General Public License along with
16 * ChronoShare, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * See AUTHORS.md for complete list of ChronoShare authors and contributors.
Alexander Afanasyeva98e69c2013-02-24 15:42:45 -080019 */
20
21#ifndef CHRONOSHARE_ADHOC_H
22#define CHRONOSHARE_ADHOC_H
23
Alexander Afanasyeve83c0562016-12-24 10:20:41 -080024#include "core/chronoshare-config.hpp"
Alexander Afanasyeva98e69c2013-02-24 15:42:45 -080025
26#if (__APPLE__ && HAVE_COREWLAN)
Alexander Afanasyeveda3b7a2016-12-25 11:26:40 -080027#define ADHOC_SUPPORTED 1
Alexander Afanasyeva98e69c2013-02-24 15:42:45 -080028#endif
29
30#ifdef ADHOC_SUPPORTED
31
32class Adhoc
33{
34public:
35 static bool
Alexander Afanasyeveda3b7a2016-12-25 11:26:40 -080036 CreateAdhoc();
Alexander Afanasyeva98e69c2013-02-24 15:42:45 -080037
38 static void
Alexander Afanasyeveda3b7a2016-12-25 11:26:40 -080039 DestroyAdhoc();
Alexander Afanasyeva98e69c2013-02-24 15:42:45 -080040};
41
42#endif
43
44#endif // CHRONOSHARE_ADHOC_H