diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-13 09:41:29 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-13 09:41:29 +0000 |
commit | 43d65dc03325bcce8561423b9607f7e114355f7d (patch) | |
tree | 7bef4e532a43f4e98ee16b012dca7499ab547e5b /Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h | |
parent | f1288ff2082a3330b62b60ee80521c37576ff9cc (diff) | |
download | pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.tar.gz pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.tar.bz2 pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.zip |
initial import
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@545 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
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.h | 39 |
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 |