wxArt2D
Classes | Macros | Typedefs | Enumerations | Functions | Variables
doccom.h File Reference

Docview framework its controlling class. More...

#include "wx/cmdproc.h"
#include "wx/paper.h"
#include "wx/print.h"
#include <wx/module.h>
#include <wx/general/genmod.h>
#include <wx/docview.h>
#include <wx/docview/docviewref.h>
#include <wx/filedlg.h>
Include dependency graph for doccom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  a2dCommandEvent
 see a2dCommandEvent More...
 
class  a2dDocumentCommandProcessor
 One object of this class may be created in an application, to manage all the templates and documents. More...
 
class  a2dDocviewGlobal
 One Global instance of this class exists, in order to get to. More...
 
class  a2dFileHistoryItem
 holds one file for placing in history list More...
 
class  a2dFileHistory
 
class  a2dDocviewModule
 A module to initialize the docview framework. More...
 

Macros

#define EVT_ADD_DOCUMENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_ADD_DOCUMENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dDocumentCommandProcessor when a document has been added to the a2dDocumentCommandProcessor
 
#define EVT_REMOVE_DOCUMENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_REMOVE_DOCUMENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dDocumentCommandProcessor when a document will be removed from the a2dDocumentCommandProcessor
 
#define EVT_CHANGED_DOCUMENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CHANGED_DOCUMENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dDocumentCommandProcessor when the current document has changed in the a2dDocumentCommandProcessor
 
#define EVT_CANNOT_OPEN_DOCUMENT(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_CANNOT_OPEN_DOCUMENT, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent when a file could not be opened in the a2dDocumentCommandProcessor
 
#define EVT_RECORD(func)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_RECORD, wxID_ANY, wxID_ANY, (wxObjectEventFunction) static_cast< wxDocCommandProcessorEventFunction > (& func), (wxObject *) NULL ),
 event sent to a2dDocumentCommandProcessor when a document has been added to the a2dDocumentCommandProcessor
 

Typedefs

typedef void(wxEvtHandler::* wxDocCommandProcessorEventFunction )(a2dCommandEvent &)
 internal event function for static event tables declaration
 
typedef a2dSmrtPtr
< a2dFileHistoryItem
a2dFileHistoryItemPtr
 
typedef a2dSmrtPtrList
< a2dFileHistoryItem
a2dFileHistoryItemList
 list of a2dFileHistoryItem
 

Enumerations

enum  { wxID_ART2D_LOWEST = 5300 }
 extra menu ideas for docview framework of wxDocview. More...
 

Functions

wxWindow * wxFindSuitableParent ()
 find a parent wxWindow pointer to place a control into
 
 A2DDOCVIEWDLLEXP_DATA (extern a2dDocviewGlobal *) a2dDocviewGlobals
 global object to get to the only a2dDocviewGlobal
 

Variables

class A2DDOCVIEWDLLEXP a2dDocumentCommandProcessor
 
template class A2DDOCVIEWDLLEXP a2dSmrtPtr< a2dDocumentCommandProcessor >
 
class A2DDOCVIEWDLLEXP a2dFileHistory
 
class A2DDOCVIEWDLLEXP a2dFileHistoryItem
 

Detailed Description

Docview framework its controlling class.

All classes in the document view framework are under control of the a2dDocumentCommandProcessor. It sents events to documents, templates classes for new document and views are stored here. At last the class is able to function as a central command processor for the whole framework.

Author
Klaas Holwerda
Date
Created 05/07/03

Copyright: (c)

Licence: wxWidgets licence

RCS-ID:

Id:
doccom.h,v 1.55 2009/09/26 19:01:04 titato Exp

Definition in file doccom.h.

Enumeration Type Documentation

anonymous enum

extra menu ideas for docview framework of wxDocview.

Enumerator
wxID_ART2D_LOWEST 

reserved range within total range used by wxWindows

Definition at line 39 of file doccom.h.

doccom.h File Reference -- Sun Oct 12 2014 17:04:26 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation