Author: frik85
Date: Sun Sep 30 19:10:10 2007
New Revision: 29313
URL:
http://svn.reactos.org/svn/reactos?rev=29313&view=rev
Log:
removed extern-link function, for the meanwhile
3 linking issues left:
* _wstr_dup
* _WinMain@16
* _FT_Get_X11_Font_Format
Modified:
trunk/rosapps/smartpdf/src/DisplayModel.h
trunk/rosapps/smartpdf/src/DisplayModelSplash.cc
trunk/rosapps/smartpdf/src/SumatraPDF.cpp
Modified: trunk/rosapps/smartpdf/src/DisplayModel.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/smartpdf/src/DisplayModel.…
==============================================================================
--- trunk/rosapps/smartpdf/src/DisplayModel.h (original)
+++ trunk/rosapps/smartpdf/src/DisplayModel.h Sun Sep 30 19:10:10 2007
@@ -329,7 +329,7 @@
extern DisplaySettings gDisplaySettings;
/* must be implemented somewhere else */
-extern void LaunchBrowser(const char *uri);
+//extern void LaunchBrowser(const char *uri);
/* We keep a cache of rendered bitmaps. BitmapCacheEntry keeps data
that uniquely identifies rendered page (dm, pageNo, rotation, zoomReal)
Modified: trunk/rosapps/smartpdf/src/DisplayModelSplash.cc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/smartpdf/src/DisplayModelS…
==============================================================================
--- trunk/rosapps/smartpdf/src/DisplayModelSplash.cc (original)
+++ trunk/rosapps/smartpdf/src/DisplayModelSplash.cc Sun Sep 30 19:10:10 2007
@@ -563,7 +563,9 @@
uri = linkURI->getURI()->getCString();
if (str_empty(uri))
return;
- LaunchBrowser(uri);
+ //LaunchBrowser(uri);
+ MessageBox(NULL,(TCHAR*)uri, TEXT("Extern link blocked"), 0); /* @note:
work-around to solve linking issue */
+
}
void DisplayModelSplash::handleLinkLaunch(LinkLaunch* linkLaunch)
Modified: trunk/rosapps/smartpdf/src/SumatraPDF.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/smartpdf/src/SumatraPDF.cp…
==============================================================================
--- trunk/rosapps/smartpdf/src/SumatraPDF.cpp (original)
+++ trunk/rosapps/smartpdf/src/SumatraPDF.cpp Sun Sep 30 19:10:10 2007
@@ -282,10 +282,10 @@
g_currLangName = NULL;
}
-void LaunchBrowser(const TCHAR *url)
+/*void LaunchBrowser(const TCHAR *url)
{
launch_url(url);
-}
+}*/
static BOOL pageRenderAbortCb(void *data)
{
@@ -2703,7 +2703,9 @@
if (WS_ABOUT == win->state) {
url = AboutGetLink(win, x, y);
if (url == win->url)
- LaunchBrowser(url);
+ //LaunchBrowser(url);
+ MessageBox(NULL,(TCHAR*)url, TEXT("Extern link blocked"), 0); /* @note:
work-around to solve linking issue */
+
win->url = NULL;
return;
}
@@ -4166,7 +4168,8 @@
break;
case IDM_VISIT_WEBSITE:
-
LaunchBrowser(_T("http://blog.kowalczyk.info/software/sumatrapdf/"));
+
//LaunchBrowser(_T("http://blog.kowalczyk.info/software/sumatrapdf/"));
+ MessageBox(NULL,
TEXT("http://www.reactos.org/")rg/"),
TEXT("Extern link blocked"), 0); /* @note: work-around to solve linking issue
*/
break;
case IDM_LANG_EN: