Author: jkupec
Date: Thu Feb 21 19:30:27 2008
New Revision: 8859
URL: http://svn.opensuse.org/viewcvs/zypp?rev=8859&view=rev
Log:
- removed unused stuff
Modified:
trunk/zypper/src/zypper-callbacks.cc
trunk/zypper/src/zypper-callbacks.h
Modified: trunk/zypper/src/zypper-callbacks.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-callbacks.cc?rev=8859&r1=8858&r2=8859&view=diff
==============================================================================
--- trunk/zypper/src/zypper-callbacks.cc (original)
+++ trunk/zypper/src/zypper-callbacks.cc Thu Feb 21 19:30:27 2008
@@ -4,13 +4,9 @@
#include
#include "zypp/base/Logger.h"
-#include "zypp/base/Deprecated.h"
-#include "zypp/Resolvable.h"
-#include "AliveCursor.h"
#include "zypper.h"
#include "zypper-main.h"
-#include "output/Out.h"
using namespace std;
using namespace boost;
@@ -118,15 +114,6 @@
// ----------------------------------------------------------------------------
-string to_string (zypp::Resolvable::constPtr resolvable) {
- ostringstream ss;
- ss << *resolvable;
- return ss.str ();
-}
-
-
-// ----------------------------------------------------------------------------
-
void report_too_many_arguments(const string & specific_help)
{
//! \todo make this more explanatory, e.g. "Ingoring arg1 arg2. This command does not take arguments. See %s for more information."
Modified: trunk/zypper/src/zypper-callbacks.h
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-callbacks.h?rev=8859&r1=8858&r2=8859&view=diff
==============================================================================
--- trunk/zypper/src/zypper-callbacks.h (original)
+++ trunk/zypper/src/zypper-callbacks.h Thu Feb 21 19:30:27 2008
@@ -10,12 +10,8 @@
#ifndef ZYPPER_CALLBACKS_H
#define ZYPPER_CALLBACKS_H
-#include <iostream>
#include <string>
-#include "zypp/Resolvable.h"
-#include "zypp/base/Exception.h"
-
#include "zypper.h"
/*
@@ -69,10 +65,6 @@
*/
bool read_bool_answer(PromptId pid, const std::string & question, bool default_answer);
-/**
- * Returns string representation of a resolvable.
- */
-std::string to_string (zypp::Resolvable::constPtr resolvable);
/**
*
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org