LocalizedFileTipProvider Class Reference

A tip file provider that uses gettext to translate the tips. More...

#include <LocalizedFileTipProvider.h>

List of all members.

Public Member Functions

 LocalizedFileTipProvider (const wxString &filename, size_t currentTip)
virtual wxString GetTip ()

Private Attributes

wxTextFile m_textfile

Detailed Description

A tip file provider that uses gettext to translate the tips.

Based on the wxTipFileProvider class which just strips _(" "), but doesn't translate the entries.

Definition at line 37 of file LocalizedFileTipProvider.h.

Constructor & Destructor Documentation

LocalizedFileTipProvider::LocalizedFileTipProvider const wxString &  filename,
size_t  currentTip

Definition at line 36 of file LocalizedFileTipProvider.cpp.

References m_textfile.

Member Function Documentation

wxString LocalizedFileTipProvider::GetTip  )  [virtual]

Definition at line 43 of file LocalizedFileTipProvider.cpp.

References DEBUG_DEBUG, and m_textfile.

Member Data Documentation

wxTextFile LocalizedFileTipProvider::m_textfile [private]

Definition at line 45 of file LocalizedFileTipProvider.h.

Referenced by GetTip(), and LocalizedFileTipProvider().

The documentation for this class was generated from the following files:
Generated on Wed Jul 16 01:25:47 2014 for Hugintrunk by  doxygen