OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
messageformatparser.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_COMPONENTS_MISC_MESSAGEFORMATPARSER_H
2 #define OPENMW_COMPONENTS_MISC_MESSAGEFORMATPARSER_H
3 
4 #include <string>
5 
6 namespace Misc
7 {
9  {
10  protected:
12  {
16  };
17 
18  virtual void visitedPlaceholder(Placeholder placeholder, char padding, int width, int precision) = 0;
19  virtual void visitedCharacter(char c) = 0;
20 
21  public:
22  virtual ~MessageFormatParser();
23 
24  virtual void process(const std::string& message);
25  };
26 }
27 
28 #endif
virtual ~MessageFormatParser()
Definition: messageformatparser.cpp:5
void message(CodeContainer &code, Literals &literals, const std::string &message, int buttons)
Definition: generator.cpp:537
Placeholder
Definition: messageformatparser.hpp:11
virtual void process(const std::string &message)
Definition: messageformatparser.cpp:7
Definition: messageformatparser.hpp:13
Definition: messageformatparser.hpp:15
virtual void visitedCharacter(char c)=0
virtual void visitedPlaceholder(Placeholder placeholder, char padding, int width, int precision)=0
Definition: messageformatparser.hpp:8
Definition: messageformatparser.hpp:14