CFx SDK Documentation  2023 SP0
FxStdsManager.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2022 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 "DDKERNEL.h"
20 #include "FxString.h"
21 #include <IdArrays.h>
22 class CFxDocument;
23 
24 #include <list>
25 
26 #include "FxPragmaPush.h"
27 
28 class CFxStdsPlugins;
29 class OdDbDatabase;
31 
32 typedef std::list < CFxStdsPluginsPtr > PLUGIN_LIST;
33 
35 {
36 public:
38  virtual ~CFxStdsManager();
39 
42  virtual void setDwsPathArray( CFxStringArray ) = 0;
43 
55 
61  virtual void addPlugin(CFxStdsPluginsPtr ) = 0;
62  virtual void removePlugin( CFxStdsPluginsPtr ) = 0;
63 
69  virtual bool getPluginList( std::list < CFxStdsPluginsPtr > & ) = 0;
70 
72  virtual CFxString getCurrentPlugin() = 0;
73  virtual void setCurrentPlugin( CFxString ) = 0;
74 
80 
81  virtual bool init( CFxDocument* ) = 0;
82  virtual bool checkForErrors( const OdDbDatabase* , OdDbObjectIdArray ,bool bNotify = false ) = 0;
83 
89  virtual void createVerficationDialog() = 0;
90  virtual void showVerficationDialog( bool ) = 0;
91  virtual void restoreVerificationDialog( CFxDocument* ) = 0;
92 
94  virtual void startProcessing() = 0;
95  virtual void endProcessing() = 0;
96 
98  virtual bool insideProcessing() = 0;
99 };
100 
103 
104 #include "FxPragmaPop.h"
#define DDKERNEL_API
Definition: DDKERNEL.h:32
std::list< CFxStdsPluginsPtr > PLUGIN_LIST
Definition: FxStdsManager.h:32
DDKERNEL_API CFxStdsManager * GetFxStandardManager()
OdSmartPtr< CFxStdsPlugins > CFxStdsPluginsPtr
Definition: FxStdsManager.h:29
std::vector< CFxString > CFxStringArray
Definition: FxString.h:34
virtual void restoreVerificationDialog(CFxDocument *)=0
virtual void getPluginDescription(CFxStdsPluginsPtr, CFxString &, CFxString &, CFxString &, CFxString &, CFxString &)=0
virtual CFxString getCurrentPlugin()=0
virtual void endProcessing()=0
virtual CFxStringArray getDwsPathArray()=0
virtual void showVerficationDialog(bool)=0
virtual bool checkForErrors(const OdDbDatabase *, OdDbObjectIdArray, bool bNotify=false)=0
virtual void setCurrentPlugin(CFxString)=0
virtual bool insideProcessing()=0
virtual bool getPluginList(std::list< CFxStdsPluginsPtr > &)=0
virtual ~CFxStdsManager()
virtual CFxStdsPluginsPtr getPluginAt(CFxString)=0
virtual void removePlugin(CFxStdsPluginsPtr)=0
virtual bool init(CFxDocument *)=0
virtual void createVerficationDialog()=0
virtual void addPlugin(CFxStdsPluginsPtr)=0
virtual void startProcessing()=0
virtual void setDwsPathArray(CFxStringArray)=0