From 97e52c8f176e7d6930c3792ae4a3747fab9a9a57 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 26 Jul 2015 14:17:08 -0400 Subject: [PATCH] CmdInstall: Removed obsolete, unlinked code --- src/commands/CmdInstall.cpp | 57 ------------------------------------- src/commands/CmdInstall.h | 41 -------------------------- 2 files changed, 98 deletions(-) delete mode 100644 src/commands/CmdInstall.cpp delete mode 100644 src/commands/CmdInstall.h diff --git a/src/commands/CmdInstall.cpp b/src/commands/CmdInstall.cpp deleted file mode 100644 index a143a8230..000000000 --- a/src/commands/CmdInstall.cpp +++ /dev/null @@ -1,57 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// Copyright 2006 - 2015, Paul Beckingham, Federico Hernandez. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// http://www.opensource.org/licenses/mit-license.php -// -//////////////////////////////////////////////////////////////////////////////// - -#include -#include -#include -#include -#include - -extern Context context; - -//////////////////////////////////////////////////////////////////////////////// -CmdInstall::CmdInstall () -{ - _keyword = "install"; - _usage = "task install [ ...]"; - _description = STRING_CMD_INSTALL_USAGE; - _read_only = true; - _displays_id = false; - _category = Command::Category::UNDOCUMENTED; -} - -//////////////////////////////////////////////////////////////////////////////// -// Algorithm: -// Copy file rc.data.location/extensions -// Generate UUID -// Call the "install" function once, store results in rc: -// extension.= -int CmdInstall::execute (std::string&) -{ - return 1; -} - -//////////////////////////////////////////////////////////////////////////////// diff --git a/src/commands/CmdInstall.h b/src/commands/CmdInstall.h deleted file mode 100644 index e4bc86585..000000000 --- a/src/commands/CmdInstall.h +++ /dev/null @@ -1,41 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// Copyright 2006 - 2015, Paul Beckingham, Federico Hernandez. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// -// http://www.opensource.org/licenses/mit-license.php -// -//////////////////////////////////////////////////////////////////////////////// - -#ifndef INCLUDED_CMDINSTALL -#define INCLUDED_CMDINSTALL - -#include -#include - -class CmdInstall : public Command -{ -public: - CmdInstall (); - int execute (std::string&); -}; - -#endif -////////////////////////////////////////////////////////////////////////////////