aboutsummaryrefslogtreecommitdiff
path: root/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h
diff options
context:
space:
mode:
Diffstat (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h')
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h
new file mode 100644
index 0000000..7e24849
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h
@@ -0,0 +1,46 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 1994-2003 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ DebugWindow.h
+
+ - Catalog of functions exported by the SnippetRunner plug-in.
+
+*********************************************************************/
+
+#ifndef _H_DEBUGWINDOWHFT
+#define _H_DEBUGWINDOWHFT
+
+enum
+{
+ DebugWindowBAD_SELECTOR,
+ DebugEmitStringSEL,
+ DebugWindowNUMSELECTORSPlusOne
+};
+
+extern HFT gDebugWindowHFT;
+
+#define DebugWindowNUMSELECTORS (DebugWindowNUMSELECTORSPlusOne - 1)
+
+#define DebugWindowHFT_NAME "ADBE:DebugWindow"
+#define DebugWindowHFT_LATEST_VERSION (0x00000002)
+#define InitDebugWindowHFT ASExtensionMgrGetHFT (ASAtomFromString(DebugWindowHFT_NAME), DebugWindowHFT_LATEST_VERSION)
+
+/* DebugEmitString
+** Emits a string to the CommonInterface window.
+** Strings with %% at start are treated as unicode (UCS-16)
+*/
+typedef ACCBPROTO1 void (ACCBPROTO2 *DebugEmitStringSELPROTO)(const char *msg);
+#define DebugEmitString (*((DebugEmitStringSELPROTO)(gDebugWindowHFT[DebugEmitStringSEL])))
+
+#endif