summaryrefslogtreecommitdiff
path: root/fpdfsdk/include
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-23 10:11:11 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-23 10:11:11 -0800
commitd21cddaa7548584bfcebefe9a03e857fee3a846b (patch)
tree0211132f874bfc0ba36b339b4fe961331f88f036 /fpdfsdk/include
parent2eaa2ef03f7fc9417007d554ee955137fe9ff7b4 (diff)
downloadpdfium-d21cddaa7548584bfcebefe9a03e857fee3a846b.tar.xz
Remove many _CAPS structure names.
They're technically not allowed because they are reserved for the preprocessor. Also get rid of LPC* typedefs along the way. Also provide a header for a data file containing many instance of these found along the way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1722873002 .
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r--fpdfsdk/include/fsdk_baseform.h6
-rw-r--r--fpdfsdk/include/fx_systemhandler.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/fpdfsdk/include/fsdk_baseform.h b/fpdfsdk/include/fsdk_baseform.h
index 28caa7b7b8..e23d34ca81 100644
--- a/fpdfsdk/include/fsdk_baseform.h
+++ b/fpdfsdk/include/fsdk_baseform.h
@@ -41,8 +41,8 @@ typedef enum _PDFSDK_XFAAActionType {
} PDFSDK_XFAAActionType;
#endif // PDF_ENABLE_XFA
-typedef struct _PDFSDK_FieldAction {
- _PDFSDK_FieldAction() {
+struct PDFSDK_FieldAction {
+ PDFSDK_FieldAction() {
bModifier = FALSE;
bShift = FALSE;
nCommitKey = 0;
@@ -65,7 +65,7 @@ typedef struct _PDFSDK_FieldAction {
FX_BOOL bWillCommit; // in
FX_BOOL bFieldFull; // in
FX_BOOL bRC; // in[out]
-} PDFSDK_FieldAction;
+};
class CPDFSDK_Widget : public CPDFSDK_BAAnnot {
public:
diff --git a/fpdfsdk/include/fx_systemhandler.h b/fpdfsdk/include/fx_systemhandler.h
index 224e0758f5..6d186a7bab 100644
--- a/fpdfsdk/include/fx_systemhandler.h
+++ b/fpdfsdk/include/fx_systemhandler.h
@@ -18,8 +18,8 @@ typedef void* FX_HWND;
typedef void* FX_HMENU;
typedef void (*TimerCallback)(int32_t idEvent);
-typedef struct _FX_SYSTEMTIME {
- _FX_SYSTEMTIME()
+struct FX_SYSTEMTIME {
+ FX_SYSTEMTIME()
: wYear(0),
wMonth(0),
wDayOfWeek(0),
@@ -36,7 +36,7 @@ typedef struct _FX_SYSTEMTIME {
FX_WORD wMinute;
FX_WORD wSecond;
FX_WORD wMilliseconds;
-} FX_SYSTEMTIME;
+};
// cursor style
#define FXCT_ARROW 0