#ifndef __MENUBAR_HXX
#define __MENUBAR_HXX 1
+class SGPropertyNode;
/**
* XML-configured menu bar interface
class FGMenuBar
{
public:
-
+ FGMenuBar();
/**
* Destructor.
*/
virtual bool isVisible () const = 0;
+ /**
+ * Read a menu label from the menu's property tree.
+ * Take care of mapping it to the appropriate translation, if available.
+ * Returns an UTF-8 encoded string.
+ */
+ const char* getLocalizedLabel(SGPropertyNode* node);
+
};
#endif // __MENUBAR_HXX