mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
refs #640, distributor list preferences value object and settings
This commit is contained in:
34
src/blackcore/settings/distributorpreferences.h
Normal file
34
src/blackcore/settings/distributorpreferences.h
Normal file
@@ -0,0 +1,34 @@
|
||||
/* Copyright (C) 2016
|
||||
* swift project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKCORE_SETTINGS_DISTRIBUTORPREFERENCES_H
|
||||
#define BLACKCORE_SETTINGS_DISTRIBUTORPREFERENCES_H
|
||||
|
||||
#include "blackmisc/settingscache.h"
|
||||
#include "blackmisc/simulation/distributorlistpreferences.h"
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
namespace Settings
|
||||
{
|
||||
namespace Simulation
|
||||
{
|
||||
//! DBus server address
|
||||
struct DistributorListPreferences : public BlackMisc::CSettingTrait<BlackMisc::Simulation::CDistributorListPreferences>
|
||||
{
|
||||
//! \copydoc BlackMisc::CSettingTrait::key
|
||||
static const char *key() { return "mapping/distributorpreferences"; }
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user