|
From: <cre...@us...> - 2007-02-26 21:02:18
|
Revision: 1631
http://svn.sourceforge.net/frontierkernel/?rev=1631&view=rev
Author: creecode
Date: 2007-02-26 13:02:19 -0800 (Mon, 26 Feb 2007)
Log Message:
-----------
combined twowaydialog function code into twowaydialog function in dialogs.c file
Modified Paths:
--------------
Frontier/branches/Frontier_Long_File_Paths/Common/stubs/megastubs.c
Modified: Frontier/branches/Frontier_Long_File_Paths/Common/stubs/megastubs.c
===================================================================
--- Frontier/branches/Frontier_Long_File_Paths/Common/stubs/megastubs.c 2007-02-26 20:56:06 UTC (rev 1630)
+++ Frontier/branches/Frontier_Long_File_Paths/Common/stubs/megastubs.c 2007-02-26 21:02:19 UTC (rev 1631)
@@ -873,33 +873,6 @@
} /*CBTProc*/
-boolean twowaydialog (bigstring bsprompt, bigstring bsok, bigstring bscancel) {
- int nResult;
- char s[256];
-
- copyptocstring (bsprompt, s);
- setbuttonstring (bsok, gMsgRetryButton);
- setbuttonstring (bscancel, gMsgCancelButton);
-
- setmessageboxbuttonsize (2);
-
- releasethreadglobals ();
-
- // Set a task specific CBT hook before calling MessageBox. The CBT hook will
- // be called when the message box is created and will give us access to
- // the window handle of the MessageBox. The message box
- // can then be subclassed in the CBT hook to change the color of the text and
- // background. Remove the hook after the MessageBox is destroyed.
- g_hhookCBT = SetWindowsHookEx(WH_CBT, CBTProc, shellinstance, 0);
- nResult = MessageBox(hwndMDIClient, s, frontierstring, MB_RETRYCANCEL | MB_APPLMODAL);
- UnhookWindowsHookEx(g_hhookCBT);
-
- grabthreadglobals ();
-
- return (nResult == IDRETRY);
- }
-
-
short threewaydialog (bigstring bsprompt, bigstring bsyes, bigstring bsno, bigstring bscancel) {
int nResult;
char s[256];
@@ -1504,21 +1477,14 @@
}
-// langipcmenus.c
+#pragma mark === langipcmenus.c ===
boolean langipcmenustartup (void) {return true;}
boolean langipcmenushutdown (void) {return true;}
-boolean langipcsymbolchanged (hdlhashtable ht, const bigstring bs, boolean fl) {return true;}
-boolean langipcsymbolinserted (hdlhashtable ht, const bigstring bs) {return true;}
-
-boolean langipcsymboldeleted (hdlhashtable ht, const bigstring bs) {return true;}
-
-
// langdialog.h
boolean langdialogstart (void) {return (true);}
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|