xref: /aosp_15_r20/external/pdfium/samples/helpers/event.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1 // Copyright 2018 The PDFium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef SAMPLES_HELPERS_EVENT_H_
6 #define SAMPLES_HELPERS_EVENT_H_
7 
8 #include <functional>
9 #include <string>
10 
11 #include "public/fpdf_formfill.h"
12 #include "public/fpdfview.h"
13 
14 void SendPageEvents(FPDF_FORMHANDLE form,
15                     FPDF_PAGE page,
16                     const std::string& events,
17                     const std::function<void()>& idler);
18 
19 #endif  // SAMPLES_HELPERS_EVENT_H_
20