ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/dclient/include/deliantra/data/inventory.h
Revision: 1.2
Committed: Mon Oct 18 14:11:44 2010 UTC (16 years ago) by sf-pippijn
Content type: text/plain
Branch: MAIN
Changes since 1.1: +22 -2 lines
Log Message:
check and log but do not die when ncurses stuff fails

File Contents

# User Rev Content
1 sf-pippijn 1.1 #pragma once
2    
3 sf-pippijn 1.2 #include "adt/types.h"
4    
5     #include <vector>
6 sf-pippijn 1.1
7     namespace data
8     {
9     struct item;
10    
11     struct inventory
12 sf-pippijn 1.2 : private std::vector<item>
13 sf-pippijn 1.1 {
14 sf-pippijn 1.2 typedef std::vector<item> vector_type;
15    
16     using vector_type::iterator;
17     using vector_type::const_iterator;
18    
19     using vector_type::begin;
20     using vector_type::end;
21    
22     using vector_type::empty;
23     using vector_type::size;
24    
25     using vector_type::at;
26     using vector_type::back;
27     using vector_type::front;
28    
29     using vector_type::push_back;
30    
31     using vector_type::erase;
32 sf-pippijn 1.1 };
33     }