CFx SDK Documentation  2020SP3
FxDocumentManagerReactor.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "FxPragmaPush.h"
20 
21 #include "DDKERNEL.h"
22 
23 #include <RxObject.h>
24 
25 class CFxDocument;
26 class CFxString;
27 
34 {
35 public:
38 
40 
44  virtual void DocumentCreateStarted(CFxDocument* pDocCreating){};
45 
49  virtual void DocumentCreated(CFxDocument* pDocCreating){};
50 
54  virtual void DocumentToBeDestroyed(CFxDocument* pDocToDestroy){};
55 
59  virtual void DocumentDestroyed(CFxDocument* pDocToDestroyed, const CFxString & strFileName){};
60 
64  virtual void DatabaseAttached(CFxDocument* pDoc){};
65 
69  virtual void DatabaseDetached(CFxDocument* pDoc){};
70 
74  virtual void DocumentToBeActivated(CFxDocument* pActivatingDoc ){};
75 
79  virtual void DocumentToBeDeactivated(CFxDocument* pDeActivatedDoc ){};
80 
84  virtual void DocumentActivated(CFxDocument* pActivatedDoc){};
85 
89  virtual void DocumentCreateCanceled(CFxDocument* pDocCreateCancelled){};
90 
94  virtual void DocumentBecameCurrent(CFxDocument* pDoc){};
95 
99  virtual void DocumentActivationModified(bool bActivation){};
100 
101 public:
105  virtual void DocumentPreOpen(CFxDocument* pDoc, const CFxString& strFileName, int codePage, int openFlags){};
106 };
107 
108 #include "FxPragmaPop.h"
FxPragmaPop.h
CFxDocumentManagerReactor::DocumentActivationModified
virtual void DocumentActivationModified(bool bActivation)
Definition: FxDocumentManagerReactor.h:99
CFxDocumentManagerReactor::DocumentCreated
virtual void DocumentCreated(CFxDocument *pDocCreating)
Definition: FxDocumentManagerReactor.h:49
CFxDocumentManagerReactor::CFxDocumentManagerReactor
CFxDocumentManagerReactor(void)
CFxDocumentManagerReactor::~CFxDocumentManagerReactor
~CFxDocumentManagerReactor(void) override
CFxDocumentManagerReactor::DocumentDestroyed
virtual void DocumentDestroyed(CFxDocument *pDocToDestroyed, const CFxString &strFileName)
Definition: FxDocumentManagerReactor.h:59
OdRxObject
Definition: RxObject.h:564
CFxDocumentManagerReactor::DocumentBecameCurrent
virtual void DocumentBecameCurrent(CFxDocument *pDoc)
Definition: FxDocumentManagerReactor.h:94
DDKERNEL.h
CFxDocumentManagerReactor::DatabaseDetached
virtual void DatabaseDetached(CFxDocument *pDoc)
Definition: FxDocumentManagerReactor.h:69
RxObject.h
CFxDocumentManagerReactor::DocumentToBeDeactivated
virtual void DocumentToBeDeactivated(CFxDocument *pDeActivatedDoc)
Definition: FxDocumentManagerReactor.h:79
CFxDocumentManagerReactor
Definition: FxDocumentManagerReactor.h:34
CFxDocumentManagerReactor::DocumentToBeDestroyed
virtual void DocumentToBeDestroyed(CFxDocument *pDocToDestroy)
Definition: FxDocumentManagerReactor.h:54
CFxString
Definition: FxString.h:48
CFxDocumentManagerReactor::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(CFxDocumentManagerReactor)
CFxDocumentManagerReactor::DocumentPreOpen
virtual void DocumentPreOpen(CFxDocument *pDoc, const CFxString &strFileName, int codePage, int openFlags)
Definition: FxDocumentManagerReactor.h:105
CFxDocument
Definition: FxDocument.h:47
DDKERNEL_API
#define DDKERNEL_API
Definition: DDKERNEL.h:32
CFxDocumentManagerReactor::DocumentCreateStarted
virtual void DocumentCreateStarted(CFxDocument *pDocCreating)
Definition: FxDocumentManagerReactor.h:44
CFxDocumentManagerReactor::DocumentCreateCanceled
virtual void DocumentCreateCanceled(CFxDocument *pDocCreateCancelled)
Definition: FxDocumentManagerReactor.h:89
CFxDocumentManagerReactor::DocumentActivated
virtual void DocumentActivated(CFxDocument *pActivatedDoc)
Definition: FxDocumentManagerReactor.h:84
FxPragmaPush.h
CFxDocumentManagerReactor::DocumentToBeActivated
virtual void DocumentToBeActivated(CFxDocument *pActivatingDoc)
Definition: FxDocumentManagerReactor.h:74
CFxDocumentManagerReactor::DatabaseAttached
virtual void DatabaseAttached(CFxDocument *pDoc)
Definition: FxDocumentManagerReactor.h:64