[St-m-svn] SF.net SVN: st-m:[1377] branches/core_v3
Brought to you by:
cnx_glenn
From: <cnx...@us...> - 2008-08-29 16:50:05
|
Revision: 1377 http://st-m.svn.sourceforge.net/st-m/?rev=1377&view=rev Author: cnx_glenn Date: 2008-08-29 16:50:01 +0000 (Fri, 29 Aug 2008) Log Message: ----------- Working at implementation of BHO sections. Modified Paths: -------------- branches/core_v3/Startup/BHO/Item.h branches/core_v3/test/test.vcproj Removed Paths: ------------- branches/core_v3/Startup/BHO/Item.cpp Modified: branches/core_v3/Startup/BHO/Item.h =================================================================== --- branches/core_v3/Startup/BHO/Item.h 2008-08-28 18:37:08 UTC (rev 1376) +++ branches/core_v3/Startup/BHO/Item.h 2008-08-29 16:50:01 UTC (rev 1377) @@ -0,0 +1,67 @@ +/* + * this file is part of Startup Manager + * Copyright (C) 2004-2008 Glenn Van Loon, gl...@st... + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef INC_STARTUPBHO_ITEM_H +#define INC_STARTUPBHO_ITEM_H + +#include "../Item.h" + +namespace Startup +{ + + namespace BHO + { + + class Item : public Startup::Item + { + public: + Item(tstring const& CLSID, tstring const& path); + virtual ~Item(); + + void setCLSID(tstring const& CLSID); + tstring getCLSID() const; + + private: + tstring mCLSID; + }; + + inline Item::Item(tstring const& CLSID, tstring const& path) + : Startup::Item(File(path).getName(), path), mCLSID(CLSID) + { + } + + inline Item::~Item() + { + } + + inline void Item::setCLSID(tstring const& CLSID) + { + mCLSID = CLSID; + } + + inline tstring Item::getCLSID() const + { + return mCLSID; + } + + } + +} + +#endif Modified: branches/core_v3/test/test.vcproj =================================================================== --- branches/core_v3/test/test.vcproj 2008-08-28 18:37:08 UTC (rev 1376) +++ branches/core_v3/test/test.vcproj 2008-08-29 16:50:01 UTC (rev 1377) @@ -267,21 +267,6 @@ RelativePath="..\Startup\BHO\Exception.h"> </File> <File - RelativePath="..\Startup\BHO\Item.cpp"> - <FileConfiguration - Name="Debug|Win32"> - <Tool - Name="VCCLCompilerTool" - ObjectFile="$(IntDir)/$(InputName)2.obj"/> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32"> - <Tool - Name="VCCLCompilerTool" - ObjectFile="$(IntDir)/$(InputName)2.obj"/> - </FileConfiguration> - </File> - <File RelativePath="..\Startup\BHO\Item.h"> </File> <File This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |