|
From: Andre R. <and...@us...> - 2006-02-05 15:55:45
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28839 Modified Files: FrontierWinMain.c Log Message: Don't hide OPML Editor app on startup. Updated various object name strings for OPML Editor. Index: FrontierWinMain.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/FrontierWinMain.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** FrontierWinMain.c 30 Jan 2005 20:31:40 -0000 1.6 --- FrontierWinMain.c 5 Feb 2006 15:55:36 -0000 1.7 *************** *** 90,93 **** --- 90,95 ---- #ifdef PIKE + + #ifndef OPMLEDITOR CHAR szFrame[] = "pikeframe"; /* Class name for "frame" window */ *************** *** 104,108 **** CHAR sz_frontierstartreplace [] = "PikeStartReplace"; CHAR sz_frontierstartsearch [] = "PikeStartSearch"; ! #else CHAR szFrame[] = "frontierframe"; /* Class name for "frame" window */ --- 106,128 ---- CHAR sz_frontierstartreplace [] = "PikeStartReplace"; CHAR sz_frontierstartsearch [] = "PikeStartSearch"; ! ! #else // OPMLEDITOR ! CHAR szFrame[] = "opmlframe"; /* Class name for "frame" window */ ! ! CHAR szChild1[] = "opmlopchild"; /* Class name for op MDI window */ ! CHAR szChildFTop[] = "opmloutlinechild"; ! CHAR szChildFTwp[] = "opmlwpchild"; ! CHAR szChildFTtb[] = "opmltablechild"; ! CHAR szChildFTmb[] = "opmlmenuchild"; ! CHAR szChildFTsc[] = "opmlscriptchild"; ! CHAR szChildRoot[] = "opmlerootchild"; ! ! CHAR szChildHTML[] = "opmlHTMLchild"; ! ! CHAR sz_frontierstartreplace [] = "OpmlStartReplace"; ! CHAR sz_frontierstartsearch [] = "OpmlStartSearch"; ! #endif // OPMLEDITOR ! ! #else // !PIKE CHAR szFrame[] = "frontierframe"; /* Class name for "frame" window */ *************** *** 119,123 **** CHAR sz_frontierstartreplace [] = "FrontierStartReplace"; CHAR sz_frontierstartsearch [] = "FrontierStartSearch"; ! #endif UINT wm_startreplace; --- 139,143 ---- CHAR sz_frontierstartreplace [] = "FrontierStartReplace"; CHAR sz_frontierstartsearch [] = "FrontierStartSearch"; ! #endif // !PIKE UINT wm_startreplace; *************** *** 1305,1309 **** --- 1325,1333 ---- #ifdef PIKE /*7.0b24 PBS -- register OPML file type and icon.*/ + #ifndef OPMLEDITOR registerFileType ("\x05" ".opml", "\x04" "OPML", "\x0b" "text/x-opml", "\x1c" "Radio UserLand OPML Document", fsname(&fs), -1 * ID_OPML_ICON, bsopen); + #else + registerFileType ("\x05" ".opml", "\x04" "OPML", "\x0b" "text/x-opml", "\x0d" "OPML Document", fsname(&fs), -1 * ID_OPML_ICON, bsopen); + #endif #else *************** *** 1444,1448 **** --- 1468,1474 ---- //#ifdef PIKE + #ifndef OPMLEDITOR /*2005-04-17 dluebbert*/ nCmdShow = SW_HIDE; /* 9/24/01 RAB */ + #endif // OPMLEDITOR //#endif *************** *** 3067,3071 **** --- 3093,3101 ---- #ifdef PIKE /*7.0b26 PBS*/ + #ifndef OPMLEDITOR // 2005-04-06 dluebbert wm_frontieropenfile = RegisterWindowMessage ("PikeOpenFile"); + #else // OPMLEDITOR + wm_frontieropenfile = RegisterWindowMessage ("OpmlOpenFile"); + #endif // OPMLEDITOR #else wm_frontieropenfile = RegisterWindowMessage ("FrontierOpenFile"); *************** *** 3079,3083 **** --- 3109,3119 ---- #ifdef PIKE + + #ifndef OPMLEDITOR frontiermutex = CreateMutex (NULL, true, "PikeInstance"); + #else //OPMLEDITOR + frontiermutex = CreateMutex (NULL, true, "OpmlInstance"); + #endif // OPMLEDITOR + #else frontiermutex = CreateMutex (NULL, true, "FrontierInstance"); *************** *** 3133,3137 **** --- 3169,3177 ---- #ifdef PIKE + #ifndef OPMLEDITOR strcpy (statusIconData.szTip, "Radio UserLand"); + #else // OPMLEDITOR + strcpy (statusIconData.szTip, "OPML"); + #endif // OPMLEDITOR #else strcpy (statusIconData.szTip, "UserLand Frontier"); |