// Copyright 2014 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef FIREWALLD_FIREWALL_DAEMON_H_
#define FIREWALLD_FIREWALL_DAEMON_H_

#include <base/macros.h>
#include <brillo/daemons/dbus_daemon.h>
#include <brillo/dbus/async_event_sequencer.h>

#include "dbus_interface.h"
#include "firewall_service.h"

using brillo::dbus_utils::AsyncEventSequencer;

namespace firewalld {

class FirewallDaemon : public brillo::DBusServiceDaemon {
 public:
  FirewallDaemon();

 protected:
  void RegisterDBusObjectsAsync(AsyncEventSequencer* sequencer) override;

 private:
  std::unique_ptr<FirewallService> firewall_service_;

  DISALLOW_COPY_AND_ASSIGN(FirewallDaemon);
};

}  // namespace firewalld

#endif  // FIREWALLD_FIREWALL_DAEMON_H_
