removed extern-link function, for the meanwhile

3 linking issues left:
* _wstr_dup
* _WinMain@16
* _FT_Get_X11_Font_Format

svn path=/trunk/; revision=29313
This commit is contained in:
Klemens Friedl 2007-09-30 15:10:10 +00:00
parent 5ab6d7ba86
commit e596c423c0
3 changed files with 11 additions and 6 deletions

View file

@ -329,7 +329,7 @@ bool displayStateFromDisplayModel(DisplayState *ds, DisplayModel
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)

View file

@ -563,7 +563,9 @@ void DisplayModelSplash::handleLinkURI(LinkURI *linkURI)
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)

View file

@ -282,10 +282,10 @@ void CurrLangNameFree() {
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 @@ static void OnMouseLeftButtonUp(WindowInfo *win, int x, int y)
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 @@ static LRESULT CALLBACK WndProcFrame(HWND hwnd, UINT message, WPARAM wParam, LPA
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/"), TEXT("Extern link blocked"), 0); /* @note: work-around to solve linking issue */
break;
case IDM_LANG_EN: