summaryrefslogtreecommitdiff
path: root/xfa/fde/css/cfde_cssrule.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/css/cfde_cssrule.h')
-rw-r--r--xfa/fde/css/cfde_cssrule.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/xfa/fde/css/cfde_cssrule.h b/xfa/fde/css/cfde_cssrule.h
new file mode 100644
index 0000000000..946132179b
--- /dev/null
+++ b/xfa/fde/css/cfde_cssrule.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_CSSRULE_H_
+#define XFA_FDE_CSS_CFDE_CSSRULE_H_
+
+#include "xfa/fde/css/fde_css.h"
+
+class CFDE_CSSRule {
+ public:
+ virtual ~CFDE_CSSRule();
+
+ FDE_CSSRuleType GetType() const { return m_type; }
+
+ protected:
+ explicit CFDE_CSSRule(FDE_CSSRuleType type);
+
+ private:
+ FDE_CSSRuleType m_type;
+};
+
+#endif // XFA_FDE_CSS_CFDE_CSSRULE_H_