/*
* Copyright (c) 2020-2021 ndeadly
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#pragma once
#include
#include "mc_types.hpp"
#include "../bluetooth_mitm/bluetooth/bluetooth_types.hpp"
#define AMS_MISSION_CONTROL_INTERFACE_INFO(C, H) \
AMS_SF_METHOD_INFO(C, H, 0, Result, GetVersion, (sf::Out version), (version)) \
AMS_SF_METHOD_INFO(C, H, 1, Result, GetBuildVersionString, (sf::Out version), (version)) \
AMS_SF_METHOD_INFO(C, H, 2, Result, GetBuildDateString, (sf::Out version), (version)) \
AMS_SF_DEFINE_INTERFACE(ams::mitm::mc, IMissionControlInterface, AMS_MISSION_CONTROL_INTERFACE_INFO, 0x30eba3d4)
namespace ams::mitm::mc {
class MissionControlService {
private:
public:
Result GetVersion(sf::Out version);
Result GetBuildVersionString(sf::Out version);
Result GetBuildDateString(sf::Out date);
};
static_assert(IsIMissionControlInterface);
}