Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
LocalizedFileTipProvider Class Reference

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

#include <LocalizedFileTipProvider.h>

Inheritance diagram for LocalizedFileTipProvider:
Inheritance graph

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: