CFx SDK Documentation  2023 SP0
FxPluginModuleInternal.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 /* IMPORTANT: DO NOT CHANGE THIS FILE! */
20 
21 /* It is used internally by the CAD libraries. */
22 
23 #include "DDKERNEL.h"
24 
25 #include "FxPragmaPush.h"
26 
27 class CFxPluginModule;
28 class CFxString;
29 
31 {
32 public:
34 
41  virtual void initApp(CFxPluginModule* module) = 0;
42 
49  virtual void uninitApp(CFxPluginModule* module) = 0;
50 
57  virtual void addGUID(const CFxString& GUID) = 0;
58 
65  virtual void addGUIDs(const CFxString& GUIDS) = 0;
66 
74  virtual CFxString nextGUID(bool first = false) = 0;
75 
82  virtual void setEdition(const CFxString& edition) = 0;
83 
90  virtual bool valid() = 0;
91 };
92 
93 /* Returns the implementation of CFxPluginModuleInternal */
95 
96 #include "FxPragmaPop.h"
#define DDKERNEL_API
Definition: DDKERNEL.h:32
DDKERNEL_API CFxPluginModuleInternal * GetCFxPluginModuleInternal()
virtual void addGUIDs(const CFxString &GUIDS)=0
virtual void initApp(CFxPluginModule *module)=0
virtual CFxString nextGUID(bool first=false)=0
virtual bool valid()=0
virtual void setEdition(const CFxString &edition)=0
virtual void uninitApp(CFxPluginModule *module)=0
virtual ~CFxPluginModuleInternal()
virtual void addGUID(const CFxString &GUID)=0