Merge to XFA: Fix ALL the include guards.
[pdfium.git] / fpdfsdk / include / formfiller / FFL_TextField.h
index 3a5fd68..fc7a2f8 100644 (file)
@@ -4,8 +4,8 @@
  
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
-#if !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_)
-#define AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_
+#ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_
+#define FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_
 
 #include "FFL_FormFiller.h"
 
 
 class CBA_FontMap;
 
-class CFFL_EditUndoItem //: public IUndoItem
-{
-public:
-       CFFL_EditUndoItem(CPWL_Edit* pEdit);
-       virtual ~CFFL_EditUndoItem();
-       
-       virtual void                                    Undo();
-       virtual void                                    Redo();
-       virtual CFX_WideString                  GetDescr();
-       virtual void                                    Release();
-};
-
 struct FFL_TextFieldState
 {
        int nStart;
@@ -60,6 +48,8 @@ public:
        
        virtual CPWL_Wnd*                       ResetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bRestoreValue);
        
+       virtual FX_BOOL                         IsFieldFull(CPDFSDK_PageView* pPageView);
+       
 public:
        virtual void                            OnSetFocus(CPWL_Wnd* pWnd);
        virtual void                            OnKillFocus(CPWL_Wnd* pWnd);
@@ -78,9 +68,8 @@ public:
        
 private:
        CBA_FontMap*                            m_pFontMap;
-//     CBA_SpellCheck*                         m_pSpellCheck;
        FFL_TextFieldState                      m_State;
-//     CFFL_IM_BOX                                     m_IMBox;
+
 };
 
-#endif // !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_)
+#endif  // FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_