~thomas-voss/location-service/add-ichnaea-provider-next

« back to all changes in this revision

Viewing changes to src/location/cmds/status.h

  • Committer: Thomas Voß
  • Date: 2016-06-30 20:34:35 UTC
  • mfrom: (259.1.3 introduce-locationd)
  • Revision ID: thomas.voss@canonical.com-20160630203435-yindku9czqzl1d1f
Merge lp:~thomas-voss/location-service/introduce-locationd.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2016 Canonical, Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU Lesser General Public License as published by
 
6
 * the Free Software Foundation; version 3.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU Lesser General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU Lesser General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by: Thomas Voß <thomas.voss@canonical.com>
 
17
 *
 
18
 */
 
19
 
 
20
#ifndef LOCATION_CMDS_STATUS_H_
 
21
#define LOCATION_CMDS_STATUS_H_
 
22
 
 
23
#include <location/optional.h>
 
24
#include <location/util/cli.h>
 
25
 
 
26
#include <core/dbus/well_known_bus.h>
 
27
 
 
28
#include <boost/filesystem.hpp>
 
29
 
 
30
#include <iosfwd>
 
31
 
 
32
namespace location
 
33
{
 
34
namespace cmds
 
35
{
 
36
// Status queries the status of the daemon
 
37
class Status : public util::cli::CommandWithFlagsAndAction
 
38
{
 
39
public:
 
40
    // Status initializes a new instance.
 
41
    Status();
 
42
 
 
43
private:
 
44
    core::dbus::WellKnownBus bus; // The bus we should connect to.
 
45
};
 
46
}
 
47
}
 
48
 
 
49
#endif // LOCATION_CMDS_STATUS_H_