aboutsummaryrefslogtreecommitdiff
path: root/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h
diff options
context:
space:
mode:
Diffstat (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h')
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h
new file mode 100644
index 0000000..0a016aa
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h
@@ -0,0 +1,39 @@
+#ifndef __WXINIT__
+#define __WXINIT__
+
+#include "wx/init.h"
+#include "wx/app.h"
+#include "wx/frame.h"
+#ifdef MAC_PLATFORM
+#include "wx/cocoa/ObjcPose.h"
+#endif
+
+// Define a new application type
+class PluginApp: public wxApp
+{
+public:
+ bool OnInit();
+ DECLARE_EVENT_TABLE()
+};
+
+class AcrobatFrame : public wxFrame
+{
+ public:
+ AcrobatFrame();
+ private:
+ DECLARE_EVENT_TABLE()
+};
+#ifdef MAC_PLATFORM
+//without this, Acrobat crashes, I think based on deleting something it shouldn't
+class myPoseAsInitializer : public wxPoseAsInitializer
+{
+public:
+ myPoseAsInitializer()
+ {
+ m_next = NULL;
+ }
+};
+#endif
+extern AcrobatFrame* mainFrame;
+
+#endif \ No newline at end of file