summaryrefslogtreecommitdiffstats
path: root/dom/system/linux/GeoclueLocationProvider.h
blob: 908cd25e37d2f09e9425e87347f2dfa09737dc3e (plain)
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
/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#ifndef GeoclueLocationProvider_h
#define GeoclueLocationProvider_h

#include "mozilla/RefPtr.h"
#include "nsIGeolocationProvider.h"

namespace mozilla::dom {

class GCLocProviderPriv;

class GeoclueLocationProvider final : public nsIGeolocationProvider {
 public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIGEOLOCATIONPROVIDER

  GeoclueLocationProvider();

 private:
  ~GeoclueLocationProvider() = default;

  RefPtr<GCLocProviderPriv> mPriv;
};

}  // namespace mozilla::dom

#endif /* GeoclueLocationProvider_h */