]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/fontenum.h
Partly reverted changes to Get(Current)Selection.
[wxWidgets.git] / include / wx / palmos / fontenum.h
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e1d63b79 2// Name: wx/palmos/fontenum.h
ffecfa5a 3// Purpose: wxFontEnumerator class for Palm OS
e1d63b79 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e1d63b79 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
dd74a8f6
WS
12#ifndef _WX_FONTENUM_PALM_H_
13#define _WX_FONTENUM_PALM_H_
ffecfa5a 14
ffecfa5a
JS
15/*
16 * wxFontEnumerator: for gathering font information
17 */
18
19class wxFontEnumerator: public wxObject
20{
21DECLARE_CLASS(wxFontEnumerator)
22public:
23 wxFontEnumerator() {};
24
25 // Enumerate the fonts.
26 bool Enumerate();
27
28 // Stop enumeration if FALSE is returned.
29 // By default, the enumerator stores the facenames in a list for
30 // retrieval via GetFacenames().
31 virtual bool OnFont(const wxFont& font);
32
33 // Return the list of facenames.
34 wxStringList& GetFacenames() { return (wxStringList&) m_faceNames; }
35protected:
36 wxStringList m_faceNames;
37};
38
39#endif
dd74a8f6 40 // _WX_FONTENUM_PALM_H_