blob: 861a70ec21aabd1e5258eeb3c177eb5c48c06e54 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_CONFIG_
#define SHILL_CONFIG_
#include <string>
namespace shill {
class Config {
public:
static const char kShillDefaultPrefsDir[];
Config();
virtual ~Config();
void UseFlimflamDirs() { use_flimflam_ = true; }
virtual std::string GetRunDirectory();
virtual std::string GetStorageDirectory();
virtual std::string GetUserStorageDirectoryFormat();
private:
static const char kDefaultRunDirectory[];
static const char kDefaultStorageDirectory[];
static const char kDefaultUserStorageFormat[];
static const char kFlimflamRunDirectory[];
static const char kFlimflamStorageDirectory[];
static const char kFlimflamUserStorageFormat[];
bool use_flimflam_;
};
} // namespace shill
#endif // SHILL_CONFIG_