mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 12:51:25 +00:00
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:
parent
5ab6d7ba86
commit
e596c423c0
3 changed files with 11 additions and 6 deletions
|
@ -329,7 +329,7 @@ bool displayStateFromDisplayModel(DisplayState *ds, DisplayModel
|
||||||
extern DisplaySettings gDisplaySettings;
|
extern DisplaySettings gDisplaySettings;
|
||||||
|
|
||||||
/* must be implemented somewhere else */
|
/* 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
|
/* We keep a cache of rendered bitmaps. BitmapCacheEntry keeps data
|
||||||
that uniquely identifies rendered page (dm, pageNo, rotation, zoomReal)
|
that uniquely identifies rendered page (dm, pageNo, rotation, zoomReal)
|
||||||
|
|
|
@ -563,7 +563,9 @@ void DisplayModelSplash::handleLinkURI(LinkURI *linkURI)
|
||||||
uri = linkURI->getURI()->getCString();
|
uri = linkURI->getURI()->getCString();
|
||||||
if (str_empty(uri))
|
if (str_empty(uri))
|
||||||
return;
|
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)
|
void DisplayModelSplash::handleLinkLaunch(LinkLaunch* linkLaunch)
|
||||||
|
|
|
@ -282,10 +282,10 @@ void CurrLangNameFree() {
|
||||||
g_currLangName = NULL;
|
g_currLangName = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void LaunchBrowser(const TCHAR *url)
|
/*void LaunchBrowser(const TCHAR *url)
|
||||||
{
|
{
|
||||||
launch_url(url);
|
launch_url(url);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
static BOOL pageRenderAbortCb(void *data)
|
static BOOL pageRenderAbortCb(void *data)
|
||||||
{
|
{
|
||||||
|
@ -2703,7 +2703,9 @@ static void OnMouseLeftButtonUp(WindowInfo *win, int x, int y)
|
||||||
if (WS_ABOUT == win->state) {
|
if (WS_ABOUT == win->state) {
|
||||||
url = AboutGetLink(win, x, y);
|
url = AboutGetLink(win, x, y);
|
||||||
if (url == win->url)
|
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;
|
win->url = NULL;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -4166,7 +4168,8 @@ static LRESULT CALLBACK WndProcFrame(HWND hwnd, UINT message, WPARAM wParam, LPA
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case IDM_VISIT_WEBSITE:
|
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;
|
break;
|
||||||
|
|
||||||
case IDM_LANG_EN:
|
case IDM_LANG_EN:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue