author | llornkcor <llornkcor> | 2004-12-29 18:27:00 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-12-29 18:27:00 (UTC) |
commit | e3fa443e845e76707171c6fae79125892a369b75 (patch) (unidiff) | |
tree | f2214ae1c6e1297109b4dcef4759b2c0aca27595 | |
parent | e2d6f156eacc312f270a1b5c3830e58be8941460 (diff) | |
download | opie-e3fa443e845e76707171c6fae79125892a369b75.zip opie-e3fa443e845e76707171c6fae79125892a369b75.tar.gz opie-e3fa443e845e76707171c6fae79125892a369b75.tar.bz2 |
patch to remove stl, from hrw
-rw-r--r-- | noncore/apps/opie-bartender/drinkdata.cpp | 9 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/drinkdata.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/noncore/apps/opie-bartender/drinkdata.cpp b/noncore/apps/opie-bartender/drinkdata.cpp index 8856e46..53e7b8d 100644 --- a/noncore/apps/opie-bartender/drinkdata.cpp +++ b/noncore/apps/opie-bartender/drinkdata.cpp | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <fcntl.h> | 18 | #include <fcntl.h> |
19 | #include <unistd.h> | 19 | #include <unistd.h> |
20 | #include <stdlib.h> | 20 | #include <stdlib.h> |
21 | #include <iostream> | ||
22 | #include <errno.h> | 21 | #include <errno.h> |
23 | 22 | ||
24 | #include "drinkdata.h" | 23 | #include "drinkdata.h" |
@@ -66,14 +65,6 @@ bool DrinkData::read(void) { | |||
66 | return true; | 65 | return true; |
67 | } | 66 | } |
68 | 67 | ||
69 | void DrinkData::print(void) { | ||
70 | DrinkList::Iterator it = items.begin(); | ||
71 | while ( it != items.end() ) { | ||
72 | std::cout << (*it).getName() << '\n'; | ||
73 | ++it; | ||
74 | } | ||
75 | } | ||
76 | |||
77 | void DrinkData::addDrink(const QString &name, const QString &ingredients) { | 68 | void DrinkData::addDrink(const QString &name, const QString &ingredients) { |
78 | DrinkItem item(name, ingredients); | 69 | DrinkItem item(name, ingredients); |
79 | items.append(item); | 70 | items.append(item); |
diff --git a/noncore/apps/opie-bartender/drinkdata.h b/noncore/apps/opie-bartender/drinkdata.h index bcc3022..2b96d1d 100644 --- a/noncore/apps/opie-bartender/drinkdata.h +++ b/noncore/apps/opie-bartender/drinkdata.h | |||
@@ -25,7 +25,6 @@ public: | |||
25 | void setFile(const QString &filename); | 25 | void setFile(const QString &filename); |
26 | bool writeChanges(void); | 26 | bool writeChanges(void); |
27 | bool read(void); | 27 | bool read(void); |
28 | void print(void); | ||
29 | void addDrink(const QString &name, const QString &ingredients); | 28 | void addDrink(const QString &name, const QString &ingredients); |
30 | DrinkList::Iterator getBegin(void); | 29 | DrinkList::Iterator getBegin(void); |
31 | DrinkList::Iterator getEnd(void); | 30 | DrinkList::Iterator getEnd(void); |