]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/pouch.h
updated the Change log w/ new additions
[irc/gameservirc.git] / gameserv / pouch.h
index cb3d7f391a29d788abbbb36a11333e9964d8522e..98332cc2c2032fe17aabc32140a898c082c40ed5 100644 (file)
@@ -14,16 +14,21 @@ class pouch
  public:
   pouch();
   pouch(pouch *);
+  pouch(const pouch &);
   ~pouch();
 
   void sort();
   void clear();
   bool isEmpty();
+  int getCount() {return count; };
 
   itemContainer *Find(char *);
   itemContainer *Find(string &);
+  itemContainer *Find(int );
 
   itemContainer *addItem(item *);
+  itemContainer *addItem(item *, int);
+  itemContainer *addItemNoChecks(item *);
   void deleteItem(item *);
   list <itemContainer> *getItems() { return &items; };
 
@@ -32,6 +37,7 @@ class pouch
 
  private:
   list <itemContainer> items;
+  long count;
 };
 
 #endif