Public Types | Public Member Functions | Protected Member Functions | Private Attributes

AP_Dialog_New Class Reference

#include <ap_Dialog_New.h>

Inheritance diagram for AP_Dialog_New:
XAP_Dialog_NonPersistent XAP_Dialog AP_CocoaDialog_New AP_UnixDialog_New AP_Win32Dialog_New

List of all members.

Public Types

enum  tAnswer { a_OK, a_CANCEL }
enum  tOpenType { open_New, open_Template, open_Existing }

Public Member Functions

 AP_Dialog_New (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_Dialog_New (void)
virtual void runModal (XAP_Frame *pFrame)=0
AP_Dialog_New::tAnswer getAnswer (void) const
AP_Dialog_New::tOpenType getOpenType (void) const
const char * getFileName (void) const

Protected Member Functions

void setAnswer (AP_Dialog_New::tAnswer a)
void setOpenType (AP_Dialog_New::tOpenType t)
void setFileName (const char *name)

Private Attributes

AP_Dialog_New::tAnswer m_answer
AP_Dialog_New::tOpenType m_openType
char * m_fileName

Member Enumeration Documentation


Constructor & Destructor Documentation

AP_Dialog_New::AP_Dialog_New ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
AP_Dialog_New::~AP_Dialog_New ( void   )  [virtual]

References FREEP, and m_fileName.

Member Function Documentation

AP_Dialog_New::tAnswer AP_Dialog_New::getAnswer ( void   )  const [inline]

Referenced by Defun1().

const char* AP_Dialog_New::getFileName ( void   )  const [inline]

Referenced by Defun1().

AP_Dialog_New::tOpenType AP_Dialog_New::getOpenType ( void   )  const [inline]
virtual void AP_Dialog_New::runModal ( XAP_Frame pFrame  )  [pure virtual]

Implements XAP_Dialog_NonPersistent.

Implemented in AP_CocoaDialog_New, and AP_UnixDialog_New.

Referenced by Defun1().

void AP_Dialog_New::setOpenType ( AP_Dialog_New::tOpenType  t  )  [inline, protected]

Member Data Documentation

char* AP_Dialog_New::m_fileName [private]

Referenced by setFileName(), and ~AP_Dialog_New().

The documentation for this class was generated from the following files: