Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

Labels.h

Go to the documentation of this file.
00001 #ifndef HEADER_LABELS_H
00002 #define HEADER_LABELS_H
00003 
00004 class Path;
00005 class ResDialogPack;
00006 
00007 #include "Scripter.h"
00008 #include "StringTool.h"
00009 
00010 /**
00011  * Loads localized labels.
00012  */
00013 class Labels : public Scripter {
00014     private:
00015         mutable ResDialogPack *m_labels;
00016     public:
00017         Labels(const Path &source);
00018         virtual ~Labels();
00019 
00020         void addLabel(const std::string &name, const std::string &lang,
00021                 const std::string &text);
00022 
00023         std::string getLabel(const std::string &name) const;
00024         std::string getFormatedLabel(const std::string &name,
00025                 const StringTool::t_args &args) const;
00026 };
00027 
00028 #endif

Generated on Wed Jun 1 09:54:31 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2