summaryrefslogtreecommitdiff
path: root/xfa/fde/css/cfde_cssvalue.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/css/cfde_cssvalue.h')
-rw-r--r--xfa/fde/css/cfde_cssvalue.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/xfa/fde/css/cfde_cssvalue.h b/xfa/fde/css/cfde_cssvalue.h
new file mode 100644
index 0000000000..17cc565b5d
--- /dev/null
+++ b/xfa/fde/css/cfde_cssvalue.h
@@ -0,0 +1,25 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef XFA_FDE_CSS_CFDE_CSSVALUE_H_
+#define XFA_FDE_CSS_CFDE_CSSVALUE_H_
+
+#include "xfa/fde/css/fde_css.h"
+
+class CFDE_CSSValue {
+ public:
+ virtual ~CFDE_CSSValue();
+
+ FDE_CSSVALUETYPE GetType() const { return m_value; }
+
+ protected:
+ explicit CFDE_CSSValue(FDE_CSSVALUETYPE type);
+
+ private:
+ FDE_CSSVALUETYPE m_value;
+};
+
+#endif // XFA_FDE_CSS_CFDE_CSSVALUE_H_