\r
Copyright (C) 2014, Red Hat, Inc.\r
\r
- This program and the accompanying materials are licensed and made available\r
- under the terms and conditions of the BSD License which accompanies this\r
- distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
- WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
**/\r
\r
#ifndef _PLATFORM_H_\r
//\r
// Macro and type definitions that connect the form with the HII driver code.\r
//\r
+#define FORMSTATEID_MAIN_FORM 1\r
#define FORMID_MAIN_FORM 1\r
\r
+#define QUESTION_RES_CUR 1\r
+#define MAXSIZE_RES_CUR 16\r
+\r
+#define LABEL_RES_NEXT 1\r
+#define QUESTION_RES_NEXT 2\r
+\r
+#define QUESTION_SAVE_EXIT 3\r
+#define QUESTION_DISCARD_EXIT 4\r
+\r
+//\r
+// This structure describes the form state. Its fields relate strictly to the\r
+// visual widgets on the form.\r
+//\r
+typedef struct {\r
+ UINT16 CurrentPreferredResolution[MAXSIZE_RES_CUR];\r
+ UINT32 NextPreferredResolution;\r
+} MAIN_FORM_STATE;\r
+\r
#endif // _PLATFORM_H_\r