From 7fe4163cda60c9455664a0639e01cd6364169aca Mon Sep 17 00:00:00 2001 From: James Teh Date: Wed, 30 Jan 2013 17:38:38 +1000 Subject: [PATCH] getAccId: Still not tested, but it now compiles. --- nvdaHelper/vbufBackends/adobeFlash/adobeFlash.cpp | 3 ++- nvdaHelper/vbufBackends/adobeFlash/adobeFlash.h | 1 + nvdaHelper/vbufBackends/adobeFlash/sconscript | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nvdaHelper/vbufBackends/adobeFlash/adobeFlash.cpp b/nvdaHelper/vbufBackends/adobeFlash/adobeFlash.cpp index edd945b2c..971ea20ad 100644 --- a/nvdaHelper/vbufBackends/adobeFlash/adobeFlash.cpp +++ b/nvdaHelper/vbufBackends/adobeFlash/adobeFlash.cpp @@ -15,6 +15,7 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.html #include #include #include +#include #include #include #include @@ -157,7 +158,7 @@ int id=accChildID; } long AdobeFlashVBufBackend_t::getAccId(IAccessible* acc) { - IAccessibleIdentity* accId = NULL; + IAccIdentity* accId = NULL; if (acc->QueryInterface(IID_IAccIdentity, (void**)&accId) != S_OK || !accId) return -1; BYTE* idString=NULL; diff --git a/nvdaHelper/vbufBackends/adobeFlash/adobeFlash.h b/nvdaHelper/vbufBackends/adobeFlash/adobeFlash.h index f9d9f8c79..54c93227a 100644 --- a/nvdaHelper/vbufBackends/adobeFlash/adobeFlash.h +++ b/nvdaHelper/vbufBackends/adobeFlash/adobeFlash.h @@ -15,6 +15,7 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.html #ifndef VIRTUALBUFFER_BACKENDS_ADOBEFLASH_H #define VIRTUALBUFFER_BACKENDS_ADOBEFLASH_H +#include #include #include diff --git a/nvdaHelper/vbufBackends/adobeFlash/sconscript b/nvdaHelper/vbufBackends/adobeFlash/sconscript index 1cfc544d0..88254cf70 100644 --- a/nvdaHelper/vbufBackends/adobeFlash/sconscript +++ b/nvdaHelper/vbufBackends/adobeFlash/sconscript @@ -28,6 +28,7 @@ adobeFlashBackendLib=env.SharedLibrary( "kernel32", "oleacc", "oleaut32", + "ole32", ], ) -- 2.11.0