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  enum Notation
19  {
23  };
24 
25  virtual void visitedPlaceholder(Placeholder placeholder, char padding, int width, int precision, Notation notation) = 0;
26  virtual void visitedCharacter(char c) = 0;
27 
28  public:
29  virtual ~MessageFormatParser();
30 
31  virtual void process(const std::string& message);
32  };
33 }
34 
35 #endif
virtual ~MessageFormatParser()
Definition: messageformatparser.cpp:5
void message(CodeContainer &code, Literals &literals, const std::string &message, int buttons)
Definition: generator.cpp:537
Definition: messageformatparser.hpp:21
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 visitedPlaceholder(Placeholder placeholder, char padding, int width, int precision, Notation notation)=0
virtual void visitedCharacter(char c)=0
Definition: messageformatparser.hpp:8
Definition: messageformatparser.hpp:14
Definition: messageformatparser.hpp:22
Notation
Definition: messageformatparser.hpp:18
Definition: messageformatparser.hpp:20