PolicyManager: Initial classes for PM variables.
The PolicyManager code will reside on the new sub-directory
policy_manager/ to reduce the accidental coupling of this code with
other parts of the Update Engine. The subdirectory '.' is included
in the include path to allow code in subdirectories use the full
path such as "policy_manager/variable.h" when including files
instead of a relative path.
This first patch adds the basic interface for PM variables to be
exposed by PM providers. The patch includes the Variable class.
BUG=None
TEST=None, only interfaces were added.
Change-Id: I16828ba08a1ccf7f318b986b718319bbacea59ee
Reviewed-on: https://chromium-review.googlesource.com/181536
Reviewed-by: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
diff --git a/policy_manager/all_variables.h b/policy_manager/all_variables.h
new file mode 100644
index 0000000..e1982f2
--- /dev/null
+++ b/policy_manager/all_variables.h
@@ -0,0 +1,16 @@
+// Copyright (c) 2014 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 CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_ALL_VARIABLES_H
+#define CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_ALL_VARIABLES_H
+
+// List of globally available variables exposed by the different providers.
+//
+// Each state provider should implement a header file with the suffix "_vars.h"
+// with all the defined variable pointers, such as:
+// Variable<MyType>* var_something;
+// This file includes all the different provider's header files with these
+// definitions.
+
+#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_POLICY_MANAGER_ALL_VARIABLES_H