Source

pyGAP / game / engine / text / language.h

Full commit
#ifndef __TEXT_LANGUAGE_H__
#define __TEXT_LANGUAGE_H__

#include <stdint.h>


namespace io { namespace fs {
    class Base;
} /* namespace fs */ } /* namespace io */

namespace text {

class Pack;
class String;


class Language {
public:
    Language();
    ~Language();

    void set(const char* language);
    void open(const char* filename, const char* language=0);

    String* create_string(uint16_t id);

private:
    Language(const Language&);
    Language operator=(const Language&);

    ::io::fs::Base*     fs_;

    Pack*   pack_;
};


} /* namespace text */


#endif