#ifndef __PY_SPECIAL_PHRASE_TABLE_H_ #define __PY_SPECIAL_PHRASE_TABLE_H_ #include #include #include #include #include #include "SpecialPhrase.h" namespace PY { class SpecialPhraseTable { private: SpecialPhraseTable (void); public: gboolean lookup (const std::string &command, std::vector &result); private: gboolean load (const gchar *file); public: static SpecialPhraseTable & instance (void) { return m_instance; } private: typedef std::multimap Map; Map m_map; private: static SpecialPhraseTable m_instance; }; }; #endif