~ubuntu-branches/ubuntu/natty/spring/natty

« back to all changes in this revision

Viewing changes to rts/System/TdfParser.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2010-09-23 18:56:03 UTC
  • mfrom: (3.1.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100923185603-st97s5chplo42y7w
Tags: 0.82.5.1+dfsg1-1ubuntu1
* Latest upstream version for online play
* debian/control: Replace (rather than conflict) spring-engine
  - spring-engine will be a dummy package (LP: #612905)
  - also set maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */
 
2
 
1
3
#ifndef TDFPARSER_H_INCLUDED
2
4
#define TDFPARSER_H_INCLUDED
3
 
//
4
 
//////////////////////////////////////////////////////////////////////
5
5
 
6
6
#include <string>
7
7
#include <vector>
138
138
                return i;
139
139
        }
140
140
 
141
 
        const std::map<std::string, std::string>& GetAllValues(std::string const& location) const;
 
141
        typedef const std::map<std::string, std::string>& MapRef;
 
142
        MapRef GetAllValues(std::string const& location) const;
142
143
        std::vector<std::string> GetSectionList(std::string const& location) const;
143
144
        bool SectionExist(std::string const& location) const;
144
145