Hi MLL, Yep, I updated the change about the new functions in DQSDTools but I didn't need to with those two searches because someone else did :)
Brent --- MLL <[EMAIL PROTECTED]> wrote: > Hi Brent, just a question : did you update the > change log about these ? > > MLL > > ATTACHMENT part 2 message/rfc822 > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: [DQSD-CVS] dqsd/searches cowp.xml,NONE,1.1 > egw.xml,NONE,1.1 > Date: Wed, 16 Oct 2002 07:24:58 +0200 > > View the DQSD CVS repository here: > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/ > > Update of /cvsroot/dqsd/dqsd/searches > In directory usw-pr-cvs1:/tmp/cvs-serv4831/searches > > Added Files: > cowp.xml egw.xml > Log Message: > added cowp and egw searches > > --- NEW FILE: cowp.xml --- > <search function="cowp"> > <name>Country and Western Pickers of the > Internet</name> > <description> > Search for lyrics and chords for country > songs.<br/> > <div class="helpboxDescLabels">Switches:</div> > <table class="helpboxDescTable"> > </table> > <div class="helpboxDescLabels">Examples:</div> > <table class="helpboxDescTable"> > <tr><td>cowpie God Must Be A Cowboy</td></tr> > </table> > </description> > <category>Reference</category> > > <link>http://www.roughstock.com/cowpie/songs/</link> > <contributor>Brent Beardsley</contributor> > > <form name="cowpie_search" > > action="http://www.roughstock.com/cgi-bin/AT-cowpiesearch.cgi" > method="post"> > <input type="hidden" name="search"/> > <input type="hidden" name="searchButton"/> > <input type="hidden" name="sp" value="sp"/> > </form> > > > <script><![CDATA[ > function cowp(q) > { > if( nullArgs("cowp", q) ) > return false; > > document.cowpie_search.search.value = q; > submitForm(cowpie_search); > } > ]]></script> > </search> > > --- NEW FILE: egw.xml --- > <search function="egw"> > <name>Ellen G. White's Writings</name> > <category>Reference</category> > <contributor>Brent Beardsley</contributor> > > <link>http://www.whiteestate.org/search/published_writings.asp</link> > <email></email> > <description> > Search Ellen G. White's writings > <div class="helpboxDescLabels">Example:</div> > <table class="helpboxDescTable"> > <tr><td>egw fireproof buildings new > york</td></tr> > </table> > </description> > <form name="egwf" > method="post" > > action="http://www.egwestate.andrews.edu/cgi-bin/search.database/PublishedWritings"> > <input type="hidden" name="QUERY" value="" /> > <input type="hidden" name="MAXDOCS" value="20" > /> > </form> > <form name="passwordf" action=""> > <input type="hidden" name="password" value="" /> > <input type="hidden" name="password_done" value="" > /> > </form> > <script><![CDATA[ > function egw(q) > { > if( nullArgs("egw", q) ) > return; > > document.egwf.QUERY.value = q; > submitForm(egwf); > } > ]]></script> > </search> > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay > you up to > $1,000 for every account that you consolidate with > us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > DQSD-CVS mailing list > https://lists.sourceforge.net/lists/listinfo/dqsd-cvs > DQSD CVS repository: > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/ > > ATTACHMENT part 3 message/rfc822 > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: [DQSD-CVS] dqsd/src/DQSDTools > DQSDTools.idl,1.20,1.21 Launcher.cpp,1.32,1.33 > Launcher.h,1.18,1.19 MenuBuilder.cpp,1.16,1.17 > MenuBuilder.h,1.9,1.10 > Date: Wed, 16 Oct 2002 07:16:56 +0200 > > View the DQSD CVS repository here: > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/ > > Update of /cvsroot/dqsd/dqsd/src/DQSDTools > In directory > usw-pr-cvs1:/tmp/cvs-serv3514/src/DQSDTools > > Modified Files: > DQSDTools.idl Launcher.cpp Launcher.h > MenuBuilder.cpp > MenuBuilder.h > Log Message: > added InstallationProperty to ILauncher > added 6 functions to IMenuBuilder to support finding > and inserting menu items and submenus > > Index: DQSDTools.idl > =================================================================== > RCS file: > /cvsroot/dqsd/dqsd/src/DQSDTools/DQSDTools.idl,v > retrieving revision 1.20 > retrieving revision 1.21 > diff -C2 -d -r1.20 -r1.21 > *** DQSDTools.idl 23 Jul 2002 21:34:19 -0000 1.20 > --- DQSDTools.idl 16 Oct 2002 05:16:54 -0000 1.21 > *************** > *** 32,35 **** > --- 32,36 ---- > [id(14), helpstring("method ShutdownBar")] > HRESULT ShutdownBar([in] LPDISPATCH pDispDocument); > [id(15), helpstring("Attempt to refresh taskbar > tray icons")] HRESULT RefreshTrayIcons(); > + [propget, id(16), helpstring("property > InstallationDirectory")] HRESULT > InstallationDirectory([out,retval] BSTR > *pbstrDirectory); > }; > [ > *************** > *** 49,52 **** > --- 50,59 ---- > [propput, id(5), helpstring("property > HorizontalAlignment")] HRESULT > HorizontalAlignment([in] short newVal); > [id(6), helpstring("method InitialiseTooltips")] > HRESULT InitialiseTooltips([in] long > displayTimeMultiplier); > + [id(7), helpstring("method InsertMenuItem")] > HRESULT InsertMenuItem([in] BSTR bstrItem, [in] BSTR > bstrKey, [in] BSTR bstrToolTip, [in] UINT position, > [in,optional] VARIANT* hmenu); > + [id(8), helpstring("method InsertSeparator")] > HRESULT InsertSeparator([in] UINT position, [in] > long hmenu); > + [id(9), helpstring("method InsertSubMenu")] > HRESULT InsertSubMenu([in] BSTR bstrName, [in] UINT > position, [in,optional] VARIANT* hParentMenu, > [out,retval] long* phmenu); > + [id(10), helpstring("method GetMenuItemCount")] > HRESULT GetMenuItemCount([in] long hmenu, > [out,retval] long* pCount); > + [id(11), helpstring("method FindSubMenu")] > HRESULT FindSubMenu([in] BSTR bstrName, > [in,optional] VARIANT* hParentMenu, [out,retval] > long* phmenu); > + [id(12), helpstring("method FindMenuItem")] > HRESULT FindMenuItem([in] BSTR bstrName, > [in,optional] VARIANT* hParentMenu, [out,retval] > long* pPosition); > }; > > > Index: Launcher.cpp > =================================================================== > RCS file: > /cvsroot/dqsd/dqsd/src/DQSDTools/Launcher.cpp,v > retrieving revision 1.32 > retrieving revision 1.33 > diff -C2 -d -r1.32 -r1.33 > *** Launcher.cpp 23 Jul 2002 22:39:55 -0000 1.32 > --- Launcher.cpp 16 Oct 2002 05:16:54 -0000 1.33 > *************** > *** 614,615 **** > --- 614,640 ---- > return S_OK; > } > + > + STDMETHODIMP > CLauncher::get_InstallationDirectory(BSTR* > pbstrDirectory) > + { > + USES_CONVERSION; > + > + // Get the installation directory from the > registry > + CRegKey rk; > + if ( ERROR_SUCCESS != rk.Open( HKEY_CLASSES_ROOT, > DQSD_REG_KEY, KEY_READ ) ) > + { > + Error(IDS_ERR_REGKEYNOTFOUND, IID_ILauncher); > + return E_UNEXPECTED; > + } > + > + TCHAR szInstallDir[ _MAX_PATH ]; > + DWORD dwCount = sizeof( szInstallDir ); > + if ( ERROR_SUCCESS != rk.QueryValue( > szInstallDir, _T("InstallDir"), &dwCount ) ) > + { > + Error(IDS_ERR_REGKEYNOTFOUND, IID_ILauncher); > + return E_UNEXPECTED; > + } > + CComBSTR bstrInstallDir; > + bstrInstallDir.Append(szInstallDir); > + *pbstrDirectory = bstrInstallDir.Detach(); > + return S_OK; > + } > \ No newline at end of file > > Index: Launcher.h > =================================================================== > RCS file: > /cvsroot/dqsd/dqsd/src/DQSDTools/Launcher.h,v > retrieving revision 1.18 > retrieving revision 1.19 > diff -C2 -d -r1.18 -r1.19 > *** Launcher.h 23 Jul 2002 21:34:19 -0000 1.18 > --- Launcher.h 16 Oct 2002 05:16:54 -0000 1.19 > *************** > *** 76,79 **** > --- 76,80 ---- > STDMETHOD(GetProtocolHandler)(/*[in]*/ BSTR > bstrProtocol, /*[out,retval]*/ BSTR* pbstrHandler); > STDMETHOD(GetFiles)(/*[in]*/ BSTR bstrFileSpec, > /*[out,retval]*/ BSTR* pbstrFiles); > + > STDMETHOD(get_InstallationDirectory)(/*[out,retval]*/ > BSTR* pbstrDirectory); > > public: > > Index: MenuBuilder.cpp > =================================================================== > RCS file: > /cvsroot/dqsd/dqsd/src/DQSDTools/MenuBuilder.cpp,v > retrieving revision 1.16 > retrieving revision 1.17 > diff -C2 -d -r1.16 -r1.17 > *** MenuBuilder.cpp 4 Oct 2002 08:52:59 -0000 1.16 > --- MenuBuilder.cpp 16 Oct 2002 05:16:54 -0000 1.17 > *************** > *** 146,153 **** > } > > ! BOOL bSuccess = ::AppendMenu( hmenu, MF_STRING, > ++m_nMenuItem, W2T( bstrItem ) ); > if ( !bSuccess ) > return E_FAIL; > > m_mapKeys[ m_nMenuItem ] = std::string( W2T( > bstrKey ) ); > m_toolTips[m_nMenuItem] = std::string( W2T( > bstrToolTip ) ); > --- 146,154 ---- > } > > ! BOOL bSuccess = ::AppendMenu( hmenu, MF_STRING, > m_nMenuItem+1, W2T( bstrItem ) ); > if ( !bSuccess ) > return E_FAIL; > > + m_nMenuItem++; > m_mapKeys[ m_nMenuItem ] = std::string( W2T( > bstrKey ) ); > m_toolTips[m_nMenuItem] = std::string( W2T( > bstrToolTip ) ); > *************** > *** 294,298 **** > cursorPos.y = GET_Y_LPARAM(messagePos); > > ! int nItems = GetMenuItemCount(hMenu); > int nItemPosition; > for(nItemPosition = 0; nItemPosition < nItems; > nItemPosition++) > --- 295,299 ---- > cursorPos.y = GET_Y_LPARAM(messagePos); > > ! int nItems = ::GetMenuItemCount(hMenu); > int nItemPosition; > for(nItemPosition = 0; nItemPosition < nItems; > nItemPosition++) > *************** > *** 554,555 **** > --- 555,713 ---- > return S_OK; > } > + > + STDMETHODIMP CMenuBuilder::InsertMenuItem(BSTR > bstrItem, BSTR bstrKey, BSTR bstrToolTip, UINT > position, VARIANT* pvhMenu ) > + { > + USES_CONVERSION; > === message truncated === __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ DQSD-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-devel
