+#include "scanner.h"
+#include "phantom.h"
+#include "filter.h"
+
+// CLASS StringValueAndTitleListBox
+//
+// A superclass of wxListBox that can handle string values and titles
+// and by displaying the title in the list box and returning the string value
+
+class StringValueAndTitleListBox : public wxListBox
+{
+ public:
+ StringValueAndTitleListBox (wxDialog* pParent, int nChoices, const char* aszTitle[], const char* aszValue[]);
+
+ const char* getSelectionStringValue (void) const;
+
+ private:
+ const char** m_ppszValues;
+};
+
+
+class DialogGetPhantom : public wxDialog
+{
+ public:
+ DialogGetPhantom (wxFrame* pParent, int iDefaultPhantom = Phantom::PHM_HERMAN);
+ virtual ~DialogGetPhantom (void) {}
+
+ const char* getPhantom (void);
+
+ private:
+ StringValueAndTitleListBox* m_pListBoxPhantom;
+};
+